Theme
Customizes the overall appearance of the application.
Properties
-
appbar_theme(Optional[AppBarTheme]) – -
badge_theme(Optional[BadgeTheme]) – -
banner_theme(Optional[BannerTheme]) – -
bottom_appbar_theme(Optional[BottomAppBarTheme]) – -
bottom_sheet_theme(Optional[BottomSheetTheme]) – -
button_theme(Optional[ButtonTheme]) –Customizes the appearance of
Buttonacross the app. -
canvas_color(Optional[ColorValue]) – -
card_bgcolor(Optional[ColorValue]) – -
card_theme(Optional[CardTheme]) – -
checkbox_theme(Optional[CheckboxTheme]) – -
chip_theme(Optional[ChipTheme]) –Customizes the appearance of
Chipacross the app. -
color_scheme(Optional[ColorScheme]) –Overrides the default
ColorSchemeused for the application. -
color_scheme_seed(Optional[ColorValue]) –Overrides the default color scheme seed used to generate
ColorScheme. The default color is blue. -
data_table_theme(Optional[DataTableTheme]) –Customizes the appearance of
DataTableacross the app. -
date_picker_theme(Optional[DatePickerTheme]) –Customizes the appearance of
DatePickeracross the app. -
dialog_theme(Optional[DialogTheme]) –Customizes the appearance of
AlertDialogacross the app. -
disabled_color(Optional[ColorValue]) – -
divider_color(Optional[ColorValue]) –Overrides the default color of dividers used in
Divider,VerticalDivider, dividers betweenListTiles, and dividers between rows inDataTable. -
divider_theme(Optional[DividerTheme]) –Defines the visual properties of
Divider,VerticalDivider, dividers betweenListTiles, and dividers between rows inDataTable. -
dropdown_theme(Optional[DropdownTheme]) –Customizes the appearance of
Dropdownacross the app. -
expansion_tile_theme(Optional[ExpansionTileTheme]) –Customizes the appearance of
ExpansionTileacross the app. -
filled_button_theme(Optional[FilledButtonTheme]) –Customizes the appearance of
FilledButtonacross the app. -
floating_action_button_theme(Optional[FloatingActionButtonTheme]) –Customizes the appearance of
FloatingActionButton -
focus_color(Optional[ColorValue]) – -
font_family(Optional[str]) –Overrides a default font for the app.
-
highlight_color(Optional[ColorValue]) – -
hint_color(Optional[ColorValue]) – -
hover_color(Optional[ColorValue]) – -
icon_button_theme(Optional[IconButtonTheme]) –Customizes the appearance of
IconButtonacross the app. -
icon_theme(Optional[IconTheme]) –Customizes the appearance of
Iconacross the app. -
list_tile_theme(Optional[ListTileTheme]) –Customizes the appearance of
ListTileacross the app. -
navigation_bar_theme(Optional[NavigationBarTheme]) – -
navigation_drawer_theme(Optional[NavigationDrawerTheme]) – -
navigation_rail_theme(Optional[NavigationRailTheme]) – -
outlined_button_theme(Optional[OutlinedButtonTheme]) –Customizes the appearance of
OutlinedButtonacross the app. -
page_transitions(PageTransitionsTheme) – -
popup_menu_theme(Optional[PopupMenuTheme]) – -
primary_text_theme(Optional[TextTheme]) – -
progress_indicator_theme(Optional[ProgressIndicatorTheme]) – -
radio_theme(Optional[RadioTheme]) – -
scaffold_bgcolor(Optional[ColorValue]) – -
scrollbar_theme(Optional[ScrollbarTheme]) – -
search_bar_theme(Optional[SearchBarTheme]) – -
search_view_theme(Optional[SearchViewTheme]) – -
secondary_header_color(Optional[ColorValue]) – -
segmented_button_theme(Optional[SegmentedButtonTheme]) – -
slider_theme(Optional[SliderTheme]) – -
snackbar_theme(Optional[SnackBarTheme]) – -
splash_color(Optional[ColorValue]) – -
switch_theme(Optional[SwitchTheme]) – -
system_overlay_style(Optional[SystemOverlayStyle]) – -
tab_bar_theme(Optional[TabBarTheme]) – -
text_button_theme(Optional[TextButtonTheme]) –Customizes the appearance of
TextButtonacross the app. -
text_theme(Optional[TextTheme]) – -
time_picker_theme(Optional[TimePickerTheme]) – -
tooltip_theme(Optional[TooltipTheme]) – -
unselected_control_color(Optional[ColorValue]) – -
use_material3(Optional[bool]) –A temporary flag that can be used to opt-out of Material 3 features.
-
visual_density(Optional[VisualDensity]) –
Properties#
bottom_appbar_theme
class-attribute
instance-attribute
#
bottom_appbar_theme: Optional[BottomAppBarTheme] = None
bottom_sheet_theme
class-attribute
instance-attribute
#
bottom_sheet_theme: Optional[BottomSheetTheme] = None
button_theme
class-attribute
instance-attribute
#
button_theme: Optional[ButtonTheme] = None
Customizes the appearance of Button across the app.
color_scheme
class-attribute
instance-attribute
#
color_scheme: Optional[ColorScheme] = None
Overrides the default ColorScheme used for the application.
color_scheme_seed
class-attribute
instance-attribute
#
color_scheme_seed: Optional[ColorValue] = None
Overrides the default color scheme seed used to generate ColorScheme. The default color is blue.
data_table_theme
class-attribute
instance-attribute
#
data_table_theme: Optional[DataTableTheme] = None
Customizes the appearance of DataTable across the app.
date_picker_theme
class-attribute
instance-attribute
#
date_picker_theme: Optional[DatePickerTheme] = None
Customizes the appearance of DatePicker across the app.
dialog_theme
class-attribute
instance-attribute
#
dialog_theme: Optional[DialogTheme] = None
Customizes the appearance of AlertDialog across the app.
divider_color
class-attribute
instance-attribute
#
divider_color: Optional[ColorValue] = None
Overrides the default color of dividers used in Divider, VerticalDivider, dividers between ListTiles, and dividers between rows in DataTable.
divider_theme
class-attribute
instance-attribute
#
divider_theme: Optional[DividerTheme] = None
Defines the visual properties of Divider, VerticalDivider, dividers between ListTiles, and dividers between rows in DataTable.
dropdown_theme
class-attribute
instance-attribute
#
dropdown_theme: Optional[DropdownTheme] = None
Customizes the appearance of Dropdown across the app.
expansion_tile_theme
class-attribute
instance-attribute
#
expansion_tile_theme: Optional[ExpansionTileTheme] = None
Customizes the appearance of ExpansionTile across the app.
filled_button_theme
class-attribute
instance-attribute
#
filled_button_theme: Optional[FilledButtonTheme] = None
Customizes the appearance of FilledButton across the app.
floating_action_button_theme
class-attribute
instance-attribute
#
floating_action_button_theme: Optional[
FloatingActionButtonTheme
] = None
Customizes the appearance of FloatingActionButton
across the app.
font_family
class-attribute
instance-attribute
#
Overrides a default font for the app.
icon_button_theme
class-attribute
instance-attribute
#
icon_button_theme: Optional[IconButtonTheme] = None
Customizes the appearance of IconButton across the app.
list_tile_theme
class-attribute
instance-attribute
#
list_tile_theme: Optional[ListTileTheme] = None
Customizes the appearance of ListTile across the app.
navigation_bar_theme
class-attribute
instance-attribute
#
navigation_bar_theme: Optional[NavigationBarTheme] = None
navigation_drawer_theme
class-attribute
instance-attribute
#
navigation_drawer_theme: Optional[NavigationDrawerTheme] = (
None
)
navigation_rail_theme
class-attribute
instance-attribute
#
navigation_rail_theme: Optional[NavigationRailTheme] = None
outlined_button_theme
class-attribute
instance-attribute
#
outlined_button_theme: Optional[OutlinedButtonTheme] = None
Customizes the appearance of OutlinedButton across the app.
page_transitions
class-attribute
instance-attribute
#
page_transitions: PageTransitionsTheme = field(
default_factory=PageTransitionsTheme
)
popup_menu_theme
class-attribute
instance-attribute
#
popup_menu_theme: Optional[PopupMenuTheme] = None
primary_text_theme
class-attribute
instance-attribute
#
progress_indicator_theme
class-attribute
instance-attribute
#
progress_indicator_theme: Optional[
ProgressIndicatorTheme
] = None
scrollbar_theme
class-attribute
instance-attribute
#
scrollbar_theme: Optional[ScrollbarTheme] = None
search_bar_theme
class-attribute
instance-attribute
#
search_bar_theme: Optional[SearchBarTheme] = None
search_view_theme
class-attribute
instance-attribute
#
search_view_theme: Optional[SearchViewTheme] = None
secondary_header_color
class-attribute
instance-attribute
#
secondary_header_color: Optional[ColorValue] = None
segmented_button_theme
class-attribute
instance-attribute
#
segmented_button_theme: Optional[SegmentedButtonTheme] = (
None
)
system_overlay_style
class-attribute
instance-attribute
#
system_overlay_style: Optional[SystemOverlayStyle] = None
text_button_theme
class-attribute
instance-attribute
#
text_button_theme: Optional[TextButtonTheme] = None
Customizes the appearance of TextButton across the app.
time_picker_theme
class-attribute
instance-attribute
#
time_picker_theme: Optional[TimePickerTheme] = None
unselected_control_color
class-attribute
instance-attribute
#
unselected_control_color: Optional[ColorValue] = None
use_material3
class-attribute
instance-attribute
#
A temporary flag that can be used to opt-out of Material 3 features.