Skip to content

ThemeMode

ThemeMode #

Bases: Enum

Describes which theme will be used by Flet app.

DARK = 'dark' #

Always use the dark mode (if available) regardless of system preference.

LIGHT = 'light' #

Always use the light mode regardless of system preference.

SYSTEM = 'system' #

Use either the light or dark theme based on what the user has selected in the system settings.