flet-dev / flet

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
https://flet.dev
Apache License 2.0
11.5k stars 449 forks source link

Button control #4264

Closed InesaFitsner closed 3 weeks ago

InesaFitsner commented 3 weeks ago

Description

Button control that creates ElevatedButton

fixes #4253

Test Code

    import flet as ft

    def main(page: ft.Page):
        page.title = "Basic elevated buttons"
        page.add(
            ft.Button(text="Button"),
            ft.Button("Disabled button", disabled=True),
        )

    ft.app(target=main)

Type of change

Checklist:

Screenshots (if applicable):

Additional details