CupertinoActivityIndicator
An iOS-style activity indicator that spins clockwise.
Examples
Basic Example
- Python
import flet as ft
def main(page):
page.theme_mode = ft.ThemeMode.LIGHT
page.add(
ft.CupertinoActivityIndicator(
radius=50,
color=ft.colors.RED,
animating=True,
)
)
ft.app(target=main)
Properties
animating
Whether the activity indicator is running its animation.
color
Defines the color of the activity indicator.
radius
The radius of the activity indicator.