Skip to content

NavigationRailTheme

NavigationRailTheme #

Customizes the appearance of NavigationRail across the app.

bgcolor #

bgcolor: ColorValue | None = None

Color to be used for the NavigationRail's background.

elevation #

elevation: Number | None = None

The z-coordinate to be used for the NavigationRail's elevation.

group_alignment #

group_alignment: Number | None = None

The alignment for the NavigationRail.destinations as they are positioned within the NavigationRail.

indicator_color #

indicator_color: ColorValue | None = None

Overrides the default value of NavigationRail.indicator_color in all descendant NavigationRail controls. when NavigationRailTheme.use_indicator
is true.

indicator_shape #

indicator_shape: OutlinedBorder | None = None

Overrides the default value of NavigationRail.indicator_shape in all descendant NavigationRail controls.

label_type #

label_type: NavigationRailLabelType | None = None

The type that defines the layout and behavior of the labels in the NavigationRail.

min_extended_width #

min_extended_width: Number | None = None

Overrides the default value of NavigationRail.min_extended_width in all descendant NavigationRail controls when they are extended.

min_width #

min_width: Number | None = None

Overrides the default value of NavigationRail.min_width in all descendant NavigationRail controls when they are not extended.

selected_label_text_style #

selected_label_text_style: TextStyle | None = None

Overrides the default value of NavigationRail.selected_label_text_style in all descendant NavigationRail controls.

unselected_label_text_style #

unselected_label_text_style: TextStyle | None = None

Overrides the default value of NavigationRail.unselected_label_text_style in all descendant NavigationRail controls.

use_indicator #

use_indicator: bool | None = None

Overrides the default value of NavigationRail.use_indicator in all descendant NavigationRail controls.