NavigationControlData class

Data class containing navigation control configuration and state.

Manages layout, styling, and interaction settings for navigation containers and their children. Used internally to coordinate behavior across navigation items.

Constructors

Creates navigation control data.

Properties

childCount int
Total number of child items.
final
containerType NavigationContainerType
Type of navigation container (bar, rail, etc.).
final
direction Axis
Layout direction (horizontal or vertical).
final
expanded bool
Whether the navigation is expanded to fill available space.
final
hashCode int
The hash code for this object.
no setteroverride
keepCrossAxisSize bool
Whether to maintain cross-axis size constraints.
final
keepMainAxisSize bool
Whether to maintain main-axis size constraints.
final
labelDirection Axis
Computed label direction based on parent label position.
no setter
onSelected ValueChanged<int>
Callback when an item is selected.
final
parentLabelPosition NavigationLabelPosition
Label position relative to icon from parent.
final
parentLabelSize NavigationLabelSize
Label size variant from parent.
final
parentLabelType NavigationLabelType
Label display type from parent container.
final
parentPadding EdgeInsets
Padding applied by parent container.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedIndex int?
Currently selected item index (null if none selected).
final
spacing double
Spacing between navigation items.
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.
override