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#
button_theme
#
button_theme: ButtonTheme | None = None
Customizes the appearance of Button across the app.
color_scheme
#
color_scheme: ColorScheme | None = None
Overrides the default ColorScheme used for the application.
color_scheme_seed
#
color_scheme_seed: ColorValue | None = None
Overrides the default color scheme seed used to generate
ColorScheme. The default color is blue.
data_table_theme
#
data_table_theme: DataTableTheme | None = None
Customizes the appearance of DataTable across the app.
date_picker_theme
#
date_picker_theme: DatePickerTheme | None = None
Customizes the appearance of DatePicker across the app.
dialog_theme
#
dialog_theme: DialogTheme | None = None
Customizes the appearance of AlertDialog across the app.
divider_theme
#
divider_theme: DividerTheme | None = None
Defines the visual properties of Divider,
VerticalDivider, dividers between
ListTiles, and dividers between rows in
DataTable.
dropdown_theme
#
dropdown_theme: DropdownTheme | None = None
Customizes the appearance of Dropdown across the app.
expansion_tile_theme
#
expansion_tile_theme: ExpansionTileTheme | None = None
Customizes the appearance of ExpansionTile across the app.
filled_button_theme
#
filled_button_theme: FilledButtonTheme | None = None
Customizes the appearance of FilledButton across the app.
floating_action_button_theme
#
floating_action_button_theme: (
FloatingActionButtonTheme | None
) = None
Customizes the appearance of FloatingActionButton
across the app.
icon_button_theme
#
icon_button_theme: IconButtonTheme | None = None
Customizes the appearance of IconButton across the app.
list_tile_theme
#
list_tile_theme: ListTileTheme | None = None
Customizes the appearance of ListTile across the app.
outlined_button_theme
#
outlined_button_theme: OutlinedButtonTheme | None = None
Customizes the appearance of OutlinedButton across the app.
page_transitions
#
page_transitions: PageTransitionsTheme = field(
default_factory=PageTransitionsTheme
)
text_button_theme
#
text_button_theme: TextButtonTheme | None = None
Customizes the appearance of TextButton across the app.