NavigationRailDestination class

Defines a NavigationRail button that represents one "destination" view.

See also:

Constructors

Creates a destination that is used with NavigationRail.destinations.
const

Properties

disabled bool
Indicates that this destination is inaccessible.
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget
The icon of the destination.
final
indicatorColor Color?
The color of the indicatorShape when this destination is selected.
final
indicatorShape ShapeBorder?
The shape of the selection indicator.
final
label Widget
The label for the destination.
final
padding EdgeInsetsGeometry?
The amount of space to inset the destination item.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedIcon Widget
An alternative icon displayed when this destination is selected.
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