Skip to content

flet-dev/flet-spinkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flet-spinkit

FletSpinkit control for Flet.

Animated loading indicator based on flutter_spinkit.

Examples

import flet as ft

from flet_spinkit import FletSpinkit


def main(page: ft.Page):
    page.vertical_alignment = ft.MainAxisAlignment.CENTER
    page.horizontal_alignment = ft.CrossAxisAlignment.CENTER

    page.add(
        ft.Stack(
            [
                ft.Container(height=200, width=200, bgcolor=ft.Colors.BLUE_100),
                FletSpinkit(
                    opacity=0.5,
                    tooltip="Spinkit tooltip",
                    top=0,
                    left=0,
                    color=ft.Colors.YELLOW,
                    size=150,
                ),
            ]
        )
    )


ft.app(main)

Properties

color

The color of the indicator.

size

The size of the indicator in virtual pixels. The default is 100.

About

Flet extension example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published