NavigationBarTheme
Customizes the appearance of NavigationBar
controls across the
app.
Properties
-
bgcolor(Optional[ColorValue]) –Overrides the default value for
NavigationBar.bgcolor. -
elevation(Optional[Number]) –Overrides the default value for
NavigationBar.elevation. -
height(Optional[Number]) –Overrides the default value for NavigationBar height.
-
indicator_color(Optional[ColorValue]) –Overrides the default value for
NavigationBar.indicator_color. -
indicator_shape(Optional[OutlinedBorder]) –Overrides the default value for
NavigationBar.indicator_shape. -
label_behavior(Optional[NavigationBarLabelBehavior]) –Overrides the default value for
NavigationBar.label_behavior. -
label_padding(Optional[PaddingValue]) –Overrides the default value for
NavigationBar.label_padding. -
label_text_style(Optional[ControlStateValue[TextStyle]]) –The style to merge with the default text style for
NavigationBarDestinationlabels. -
overlay_color(Optional[ControlStateValue[ColorValue]]) –Overrides the default value for
NavigationBar.overlay_color. -
shadow_color(Optional[ColorValue]) –Overrides the default value for
NavigationBar.shadow_color.
Properties#
bgcolor
class-attribute
instance-attribute
#
bgcolor: Optional[ColorValue] = None
Overrides the default value for NavigationBar.bgcolor.
elevation
class-attribute
instance-attribute
#
Overrides the default value for NavigationBar.elevation.
height
class-attribute
instance-attribute
#
Overrides the default value for NavigationBar height.
indicator_color
class-attribute
instance-attribute
#
indicator_color: Optional[ColorValue] = None
Overrides the default value for NavigationBar.indicator_color.
indicator_shape
class-attribute
instance-attribute
#
indicator_shape: Optional[OutlinedBorder] = None
Overrides the default value for NavigationBar.indicator_shape.
label_behavior
class-attribute
instance-attribute
#
label_behavior: Optional[NavigationBarLabelBehavior] = None
Overrides the default value for NavigationBar.label_behavior.
label_padding
class-attribute
instance-attribute
#
label_padding: Optional[PaddingValue] = None
Overrides the default value for NavigationBar.label_padding.
label_text_style
class-attribute
instance-attribute
#
label_text_style: Optional[ControlStateValue[TextStyle]] = (
None
)
The style to merge with the default text style for NavigationBarDestination labels.
overlay_color
class-attribute
instance-attribute
#
overlay_color: Optional[ControlStateValue[ColorValue]] = (
None
)
Overrides the default value for NavigationBar.overlay_color.
shadow_color
class-attribute
instance-attribute
#
shadow_color: Optional[ColorValue] = None
Overrides the default value for NavigationBar.shadow_color.