NavigationLeadingConfig class
Configuration for navigation leading items (main navigation section).
This includes styling, behavior, and the list of navigation destinations displayed in the NavigationRailMode.rail or NavigationRailMode.drawer.
Constructors
Properties
-
fixLeadingItems
→ List<
NavigationRailPlusDestination> -
List of fixed navigation destinations (always visible, non-scrollable).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- leadingColor → Color?
-
Default color for navigation item icons and labels.
final
- leadingHoverColor → Color?
-
Background color applied when a navigation item is hovered.
final
- leadingIconPadding → EdgeInsets?
-
Padding applied around each navigation item.
final
- leadingIconSize → double?
-
Icon size used for navigation items.
final
- needTooltip → bool
-
Whether tooltips are shown for navigation items,
especially useful in collapsed rail mode.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scrollableLeadingItems
→ List<
NavigationRailPlusDestination> ? -
Optional list of additional navigation destinations
displayed inside a scrollable container.
final
- selectedLeadingColor → Color?
-
Color applied to the selected navigation item.
final
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