NavigationHeaderConfig class
Configuration for the header section of the navigation rail.
This controls how the top area of the navigation component is rendered, including custom header widgets, fallback icons, and toggle behavior.
Constructors
Properties
- dividerColor → Color?
-
Divider color under header
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → Widget?
-
Custom widget rendered at the top of the navigation component.
Takes priority over headerIcon when provided.
final
- headerCollapsedTrailing → Widget?
-
Widget that is under header when rail is collapsed
final
- headerIcon → Widget?
-
Fallback icon displayed in the header when header is not provided,
or used in collapsed mode.
final
- headerIconColor → Color?
-
Color applied to headerIcon.
final
- headerIconSize → double?
-
Size applied to headerIcon when rendered.
final
- headerTrailing → Widget?
-
Widget that is under header
final
- needHeaderDivider → bool
-
Divider under header
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Icon used to toggle between expanded and collapsed rail states.
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