NavRailDestination class
A single destination in a NavigationRail.
Constructors
-
const
Properties
- badge → String?
-
Optional badge text (e.g. a notification count).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
Unselected icon.
final
- label → String
-
Destination label.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedIcon → IconData?
-
Selected icon (defaults to icon).
final
- tooltip → String?
-
Tooltip shown when the rail is collapsed.
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