Skip to content

NavigationBarTheme

Customizes the appearance of NavigationBar controls across the app.

Properties

Properties#

bgcolor class-attribute instance-attribute #

bgcolor: Optional[ColorValue] = None

Overrides the default value for NavigationBar.bgcolor.

elevation class-attribute instance-attribute #

elevation: Optional[Number] = None

Overrides the default value for NavigationBar.elevation.

height class-attribute instance-attribute #

height: Optional[Number] = None

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.