Skip to content

CupertinoActivityIndicator

An iOS-style activity indicator that spins clockwise.

Inherits: LayoutControl

Properties

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

Properties#

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.

Raises: