Theme
Customizes the overall appearance of the application.
Properties
appbar_themebadge_themebanner_themebottom_appbar_themebottom_sheet_themebutton_theme- Customizes the appearance of Button across the app.canvas_colorcard_bgcolorcard_themecheckbox_themechip_theme- Customizes the appearance of Chip across the app.color_scheme- Overrides the default ColorScheme used for the application.color_scheme_seed- Overrides the default color scheme seed used to generate ColorScheme.data_table_theme- Customizes the appearance of DataTable across the app.date_picker_theme- Customizes the appearance of DatePicker across the app.dialog_theme- Customizes the appearance of AlertDialog across the app.disabled_colordivider_color- Overrides the default color of dividers used in Divider, VerticalDivider, dividers between ListTiles, and dividers between rows in DataTable.divider_theme- Defines the visual properties of Divider, VerticalDivider, dividers between ListTiles, and dividers between rows in DataTable.dropdown_theme- Customizes the appearance of Dropdown across the app.expansion_tile_theme- Customizes the appearance of ExpansionTile across the app.filled_button_theme- Customizes the appearance of FilledButton across the app.floating_action_button_theme- Customizes the appearance of FloatingActionButton across the app.focus_colorfont_family- Overrides a default font for the app.highlight_colorhint_colorhover_coloricon_button_theme- Customizes the appearance of IconButton across the app.icon_theme- Customizes the appearance of Icon across the app.list_tile_theme- Customizes the appearance of ListTile across the app.navigation_bar_themenavigation_drawer_themenavigation_rail_themeoutlined_button_theme- Customizes the appearance of OutlinedButton across the app.page_transitionspopup_menu_themeprimary_text_themeprogress_indicator_themeradio_themescaffold_bgcolorscrollbar_themesearch_bar_themesearch_view_themesecondary_header_colorsegmented_button_themeslider_themesnackbar_themesplash_colorswitch_themesystem_overlay_styletab_bar_themetext_button_theme- Customizes the appearance of TextButton across the app.text_themetime_picker_themetooltip_themeunselected_control_coloruse_material3- A temporary flag that can be used to opt-out of Material 3 features.visual_density
Properties
appbar_themeclass-attributeinstance-attribute
appbar_theme: Optional[AppBarTheme] = Nonebadge_themeclass-attributeinstance-attribute
badge_theme: Optional[BadgeTheme] = Nonebanner_themeclass-attributeinstance-attribute
banner_theme: Optional[BannerTheme] = Nonebottom_appbar_themeclass-attributeinstance-attribute
bottom_appbar_theme: Optional[BottomAppBarTheme] = Nonebottom_sheet_themeclass-attributeinstance-attribute
bottom_sheet_theme: Optional[BottomSheetTheme] = Nonebutton_themeclass-attributeinstance-attribute
button_theme: Optional[ButtonTheme] = NoneCustomizes the appearance of Button across the app.
canvas_colorclass-attributeinstance-attribute
canvas_color: Optional[ColorValue] = Nonecard_bgcolorclass-attributeinstance-attribute
card_bgcolor: Optional[ColorValue] = Nonecheckbox_themeclass-attributeinstance-attribute
checkbox_theme: Optional[CheckboxTheme] = Nonechip_themeclass-attributeinstance-attribute
chip_theme: Optional[ChipTheme] = NoneCustomizes the appearance of Chip across the app.
color_schemeclass-attributeinstance-attribute
color_scheme: Optional[ColorScheme] = NoneOverrides the default ColorScheme used for the application.
color_scheme_seedclass-attributeinstance-attribute
color_scheme_seed: Optional[ColorValue] = NoneOverrides the default color scheme seed used to generate ColorScheme. The default color is blue.
data_table_themeclass-attributeinstance-attribute
data_table_theme: Optional[DataTableTheme] = NoneCustomizes the appearance of DataTable across the app.
date_picker_themeclass-attributeinstance-attribute
date_picker_theme: Optional[DatePickerTheme] = NoneCustomizes the appearance of DatePicker across the app.
dialog_themeclass-attributeinstance-attribute
dialog_theme: Optional[DialogTheme] = NoneCustomizes the appearance of AlertDialog across the app.
disabled_colorclass-attributeinstance-attribute
disabled_color: Optional[ColorValue] = Nonedivider_colorclass-attributeinstance-attribute
divider_color: Optional[ColorValue] = NoneOverrides the default color of dividers used in Divider, VerticalDivider, dividers between ListTiles, and dividers between rows in DataTable.
divider_themeclass-attributeinstance-attribute
divider_theme: Optional[DividerTheme] = NoneDefines the visual properties of Divider, VerticalDivider, dividers between ListTiles, and dividers between rows in DataTable.
dropdown_themeclass-attributeinstance-attribute
dropdown_theme: Optional[DropdownTheme] = NoneCustomizes the appearance of Dropdown across the app.
expansion_tile_themeclass-attributeinstance-attribute
expansion_tile_theme: Optional[ExpansionTileTheme] = NoneCustomizes the appearance of ExpansionTile across the app.
filled_button_themeclass-attributeinstance-attribute
filled_button_theme: Optional[FilledButtonTheme] = NoneCustomizes the appearance of FilledButton across the app.
floating_action_button_themeclass-attributeinstance-attribute
floating_action_button_theme: Optional[FloatingActionButtonTheme] = NoneCustomizes the appearance of FloatingActionButton across the app.
focus_colorclass-attributeinstance-attribute
focus_color: Optional[ColorValue] = Nonefont_familyclass-attributeinstance-attribute
font_family: Optional[str] = NoneOverrides a default font for the app.
highlight_colorclass-attributeinstance-attribute
highlight_color: Optional[ColorValue] = Nonehint_colorclass-attributeinstance-attribute
hint_color: Optional[ColorValue] = Nonehover_colorclass-attributeinstance-attribute
hover_color: Optional[ColorValue] = Noneicon_button_themeclass-attributeinstance-attribute
icon_button_theme: Optional[IconButtonTheme] = NoneCustomizes the appearance of IconButton across the app.
icon_themeclass-attributeinstance-attribute
icon_theme: Optional[IconTheme] = NoneCustomizes the appearance of Icon across the app.
list_tile_themeclass-attributeinstance-attribute
list_tile_theme: Optional[ListTileTheme] = NoneCustomizes the appearance of ListTile across the app.
navigation_bar_themeclass-attributeinstance-attribute
navigation_bar_theme: Optional[NavigationBarTheme] = Nonenavigation_drawer_themeclass-attributeinstance-attribute
navigation_drawer_theme: Optional[NavigationDrawerTheme] = Nonenavigation_rail_themeclass-attributeinstance-attribute
navigation_rail_theme: Optional[NavigationRailTheme] = Noneoutlined_button_themeclass-attributeinstance-attribute
outlined_button_theme: Optional[OutlinedButtonTheme] = NoneCustomizes the appearance of OutlinedButton across the app.
page_transitionsclass-attributeinstance-attribute
page_transitions: PageTransitionsTheme = field(default_factory=PageTransitionsTheme)popup_menu_themeclass-attributeinstance-attribute
popup_menu_theme: Optional[PopupMenuTheme] = Noneprogress_indicator_themeclass-attributeinstance-attribute
progress_indicator_theme: Optional[ProgressIndicatorTheme] = Noneradio_themeclass-attributeinstance-attribute
radio_theme: Optional[RadioTheme] = Nonescaffold_bgcolorclass-attributeinstance-attribute
scaffold_bgcolor: Optional[ColorValue] = Nonescrollbar_themeclass-attributeinstance-attribute
scrollbar_theme: Optional[ScrollbarTheme] = Nonesearch_bar_themeclass-attributeinstance-attribute
search_bar_theme: Optional[SearchBarTheme] = Nonesearch_view_themeclass-attributeinstance-attribute
search_view_theme: Optional[SearchViewTheme] = Nonesecondary_header_colorclass-attributeinstance-attribute
secondary_header_color: Optional[ColorValue] = Nonesegmented_button_themeclass-attributeinstance-attribute
segmented_button_theme: Optional[SegmentedButtonTheme] = Noneslider_themeclass-attributeinstance-attribute
slider_theme: Optional[SliderTheme] = Nonesnackbar_themeclass-attributeinstance-attribute
snackbar_theme: Optional[SnackBarTheme] = Nonesplash_colorclass-attributeinstance-attribute
splash_color: Optional[ColorValue] = Noneswitch_themeclass-attributeinstance-attribute
switch_theme: Optional[SwitchTheme] = Nonesystem_overlay_styleclass-attributeinstance-attribute
system_overlay_style: Optional[SystemOverlayStyle] = Nonetab_bar_themeclass-attributeinstance-attribute
tab_bar_theme: Optional[TabBarTheme] = Nonetext_button_themeclass-attributeinstance-attribute
text_button_theme: Optional[TextButtonTheme] = NoneCustomizes the appearance of TextButton across the app.
time_picker_themeclass-attributeinstance-attribute
time_picker_theme: Optional[TimePickerTheme] = Nonetooltip_themeclass-attributeinstance-attribute
tooltip_theme: Optional[TooltipTheme] = Noneunselected_control_colorclass-attributeinstance-attribute
unselected_control_color: Optional[ColorValue] = Noneuse_material3class-attributeinstance-attribute
use_material3: Optional[bool] = NoneA temporary flag that can be used to opt-out of Material 3 features.
visual_densityclass-attributeinstance-attribute
visual_density: Optional[VisualDensity] = None