Skip to main content

CupertinoActivityIndicator

An iOS-style activity indicator that spins clockwise.

Examples

Live example

Basic Example

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

Whether a click on the CupertinoContextMenuActions should produce haptic feedback.