Theme
Theme
class has the following properties:
appbar_theme
Value is of type AppBarTheme
.
badge_theme
Value is of type BadgeTheme
.
banner_theme
Value is of type BannerTheme
.
bottom_appbar_theme
Value is of type BottomAppBarTheme
.
bottom_sheet_theme
Value is of type BottomSheetTheme
.
canvas_color
Value is of type ColorValue
.
card_color
Value is of type ColorValue
.
card_theme
Value is of type CardTheme
.
checkbox_theme
Value is of type CheckboxTheme
.
chip_theme
Value is of type ChipTheme
.
color_scheme_seed
A seed color to algorithmically derive the rest of theme colors from.
Value is of type ColorValue
.
color_scheme
Value is of type ColorScheme
class that allows to customize Material colors scheme derived
from color_scheme_seed
.
date_picker_theme
Value is of type DatePickerTheme
.
dialog_bgcolor
Value is of type ColorValue
.
dialog_theme
Value is of type DialogTheme
.
disabled_color
Value is of type ColorValue
.
divider_color
Value is of type ColorValue
.
divider_theme
Value is of type DividerTheme
.
expansion_tile_theme
Value is of type ExpansionTileTheme
.
focus_color
Value is of type ColorValue
.
font_family
The base font for all UI elements.
highlight_color
Value is of type ColorValue
.
hint_color
Value is of type ColorValue
.
hover_color
Value is of type ColorValue
.
indicator_color
Value is of type ColorValue
.
list_tile_theme
Value is of type ListTileTheme
.
navigation_bar_theme
Value is of type NavigationBarTheme
.
navigation_drawer_theme
Value is of type NavigationDrawerTheme
.
navigation_rail_theme
Value is of type NavigationRailTheme
.
page_transitions
Value is of type PageTransitionsTheme
primary_text_theme
Describes a text theme that contrasts with the primary color.
Value is of type TextTheme
.
popup_menu_theme
Value is of type PopupMenuTheme
.
primary_color
Value is of type ColorValue
.
primary_color_dark
Value is of type ColorValue
.
primary_color_light
Value is of type ColorValue
.
primary_swatch
Value is of type ColorValue
.
progress_indicator_theme
Value is of type ProgressIndicatorTheme
.
radio_theme
Value is of type RadioTheme
.
scaffold_bgcolor
Value is of type ColorValue
.
scrollbar_theme
Value is of type ScrollbarTheme
search_bar_theme
Value is of type SearchBarTheme
.
search_view_theme
Value is of type SearchViewTheme
.
secondary_header_color
Value is of type ColorValue
.
segmented_button_theme
Value is of type SegmentedButtonTheme
.
shadow_color
Value is of type ColorValue
.
slider_theme
Value is of type SliderTheme
.
snackbar_theme
Value is of type SnackBarTheme
.
splash_color
Value is of type ColorValue
.
system_overlay_style
Value is of type SystemOverlayStyle
switch_theme
Value is of type SwitchTheme
.
tabs_theme
Value is of type TabsTheme
text_theme
Defines text styles that contrasts with the card and canvas colors.
Value is of type TextTheme
.
time_picker_theme
Value is of type TimePickerTheme
.
tooltip_theme
Value is of type TooltipTheme
.
unselected_control_color
Value is of type ColorValue
.
use_material3
Whether to use Material 3 design instead of Material 2.
Value is of type bool
and defaults to True
.
visual_density
Value is of type ThemeVisualDensity
and defaults to ThemeVisualDensity.STANDARD
.