Skip to content

CupertinoActivityIndicator

Examples#

Live example

Basic Example#

import flet as ft


def main(page: ft.Page):
    page.add(
        ft.CupertinoActivityIndicator(
            animating=True,
            color=ft.Colors.RED,
            radius=50,
        )
    )


ft.run(main)

basic

CupertinoActivityIndicator #

Bases: LayoutControl

An iOS-style activity indicator that spins clockwise.

RAISES DESCRIPTION
ValueError

If radius is not strictly greater than 0.

animating #

animating: bool = True

Whether this indicator is running its animation.

color #

color: ColorValue | None = None

Defines the color of this indicator.

radius #

radius: Number = 10

The radius of this indicator.

Note

Must be strictly greater than 0.

before_update #

before_update()