Skip to main content

NavigationBarTheme

Customizes the appearance of NavigationBar controls across the app.

Properties

Properties

bgcolorclass-attributeinstance-attribute

bgcolor: Optional[ColorValue] = None

Overrides the default value for flet.NavigationBar.bgcolor.

elevationclass-attributeinstance-attribute

elevation: Optional[Number] = None

Overrides the default value for flet.NavigationBar.elevation.

heightclass-attributeinstance-attribute

height: Optional[Number] = None

Overrides the default value for NavigationBar height.

indicator_colorclass-attributeinstance-attribute

indicator_color: Optional[ColorValue] = None

Overrides the default value for flet.NavigationBar.indicator_color.

indicator_shapeclass-attributeinstance-attribute

indicator_shape: Optional[OutlinedBorder] = None

Overrides the default value for flet.NavigationBar.indicator_shape.

label_behaviorclass-attributeinstance-attribute

label_behavior: Optional[NavigationBarLabelBehavior] = None

Overrides the default value for flet.NavigationBar.label_behavior.

label_paddingclass-attributeinstance-attribute

label_padding: Optional[PaddingValue] = None

Overrides the default value for flet.NavigationBar.label_padding.

label_text_styleclass-attributeinstance-attribute

label_text_style: Optional[ControlStateValue[TextStyle]] = None

The style to merge with the default text style for NavigationBarDestination labels.

overlay_colorclass-attributeinstance-attribute

overlay_color: Optional[ControlStateValue[ColorValue]] = None

Overrides the default value for flet.NavigationBar.overlay_color.

shadow_colorclass-attributeinstance-attribute

shadow_color: Optional[ColorValue] = None

Overrides the default value for flet.NavigationBar.shadow_color.