NavigationGlobalConfig class

Global configuration for the navigation rail system.

This class controls high-level behavior such as layout mode, responsiveness, sizing, animation timing, and general container styling.

Constructors

Properties

animationDuration → Duration?
Duration used for expand/collapse and implicit animations.
final
backgroundColor → Color?
Background color of the navigation container.
final
closeOnSelectDrawerItem → bool
Whether the drawer should automatically close after selecting an item.
final
collapsedRailWidth → double
Width of the navigation rail in collapsed state.
final
drawerWidth → double?
Explicit width of the drawer when mode is drawer.
final
endDrawerWidth → double?
Explicit width of the EndDrawer when mode is end drawer.
final
expandedRailWidth → double
Width of the navigation rail in expanded state.
final
hashCode → int
The hash code for this object.
no setterinherited
mode → NavigationRailMode
Defines the navigation presentation mode (rail or drawer).
final
needFixedSize → bool
Forces a fixed layout size, disabling dynamic resizing behavior.
final
responsiveLayout → bool
Enables automatic responsive behavior: switches between rail and drawer based on screen size.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited