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