FilledButton
A Fluent button filled with the accent color, for the main action of a page or dialog.
Example:
fluent.FilledButton("Continue", on_click=lambda e: print("continue"))
fluent.FilledButton("Continue", disabled=True)

Inherits: Button
Example
Fluent FilledButton
import flet_fluent_ui as fluent
import flet as ft
def main(page: ft.Page):
page.title = "Fluent FilledButton"
def handle_save(e: ft.Event[fluent.FilledButton]):
status.value = "Document saved"
status = ft.Text("Draft")
page.add(
ft.SafeArea(
content=ft.Column(
controls=[
ft.Row(
controls=[
fluent.FilledButton("Save", on_click=handle_save),
fluent.Button("Cancel"),
],
),
status,
],
)
)
)
if __name__ == "__main__":
ft.run(main)
