NavigationRailDestination class Null safety

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

See also:

Constructors

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

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
icon → Widget
The icon of the destination.
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.
read-onlyinherited
selectedIcon → Widget
An alternative icon displayed when this destination is selected.
final

Methods

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

Operators

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