NavigationDrawerTheme
Customizes the appearance of descendant NavigationDrawer controls.
Properties
bgcolor- Overrides the default value for flet.NavigationDrawer.bgcolor.elevation- Overrides the default value for flet.NavigationDrawer.elevation.icon_theme- The theme to merge with the default icon theme for NavigationDrawerDestination icons.indicator_color- Overrides the default value for flet.NavigationDrawer.indicator_color.indicator_shape- Overrides the default value for flet.NavigationDrawer.indicator_shape.indicator_size- Overrides the default size of the NavigationDrawer's selection indicator.label_text_style- The style to merge with the default text style for NavigationDrawerDestination labels.shadow_color- Overrides the default value for flet.NavigationDrawer.shadow_color.tile_height- Overrides the default height of NavigationDrawerDestination.
Properties
bgcolorclass-attributeinstance-attribute
bgcolor: Optional[ColorValue] = NoneOverrides the default value for flet.NavigationDrawer.bgcolor.
elevationclass-attributeinstance-attribute
elevation: Optional[Number] = NoneOverrides the default value for flet.NavigationDrawer.elevation.
icon_themeclass-attributeinstance-attribute
icon_theme: Optional[ControlStateValue[IconTheme]] = NoneThe theme to merge with the default icon theme for NavigationDrawerDestination icons.
Can be used to specify a different icon theme when the icon is selected.
indicator_colorclass-attributeinstance-attribute
indicator_color: Optional[ColorValue] = NoneOverrides the default value for flet.NavigationDrawer.indicator_color.
indicator_shapeclass-attributeinstance-attribute
indicator_shape: Optional[OutlinedBorder] = NoneOverrides the default value for flet.NavigationDrawer.indicator_shape.
indicator_sizeclass-attributeinstance-attribute
indicator_size: Optional[Size] = NoneOverrides the default size of the NavigationDrawer's selection indicator.
label_text_styleclass-attributeinstance-attribute
label_text_style: Optional[ControlStateValue[TextStyle]] = NoneThe style to merge with the default text style for NavigationDrawerDestination labels.
Can be used to specify a different style when the label is selected.
shadow_colorclass-attributeinstance-attribute
shadow_color: Optional[ColorValue] = NoneOverrides the default value for flet.NavigationDrawer.shadow_color.
tile_heightclass-attributeinstance-attribute
tile_height: Optional[Number] = NoneOverrides the default height of NavigationDrawerDestination.