NavigationDrawerTheme
Customizes the appearance of descendant NavigationDrawer
controls.
Properties
-
bgcolor(Optional[ColorValue]) –Overrides the default value for
NavigationDrawer.bgcolor. -
elevation(Optional[Number]) –Overrides the default value for
NavigationDrawer.elevation. -
indicator_color(Optional[ColorValue]) –Overrides the default value for
NavigationDrawer.indicator_color. -
indicator_shape(Optional[OutlinedBorder]) –Overrides the default value for
NavigationDrawer.indicator_shape. -
indicator_size(Optional[Size]) –Overrides the default size of the
NavigationDrawer's selection indicator. -
label_text_style(Optional[ControlStateValue[TextStyle]]) –The style to merge with the default text style for
NavigationDrawerDestinationlabels. -
shadow_color(Optional[ColorValue]) –Overrides the default value for
NavigationDrawer.shadow_color. -
tile_height(Optional[Number]) –Overrides the default height of
NavigationDrawerDestination.
Properties#
bgcolor
class-attribute
instance-attribute
#
bgcolor: Optional[ColorValue] = None
Overrides the default value for NavigationDrawer.bgcolor.
elevation
class-attribute
instance-attribute
#
Overrides the default value for NavigationDrawer.elevation.
indicator_color
class-attribute
instance-attribute
#
indicator_color: Optional[ColorValue] = None
Overrides the default value for NavigationDrawer.indicator_color.
indicator_shape
class-attribute
instance-attribute
#
indicator_shape: Optional[OutlinedBorder] = None
Overrides the default value for NavigationDrawer.indicator_shape.
indicator_size
class-attribute
instance-attribute
#
Overrides the default size of the NavigationDrawer's selection indicator.
label_text_style
class-attribute
instance-attribute
#
label_text_style: Optional[ControlStateValue[TextStyle]] = (
None
)
The style to merge with the default text style for NavigationDrawerDestination labels.
shadow_color
class-attribute
instance-attribute
#
shadow_color: Optional[ColorValue] = None
Overrides the default value for NavigationDrawer.shadow_color.
tile_height
class-attribute
instance-attribute
#
Overrides the default height of NavigationDrawerDestination.