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