DesignNavigationDestination class

A destination: its name and glyphs, as Material's NavigationDestination.

Annotations

Constructors

DesignNavigationDestination({required String label, required IconData icon, IconData? selectedIcon, bool enabled = true, Object? data})
A destination named label.
const

Properties

data → Object?
Anything else the look needs to paint it (a badge count).
final
enabled → bool
Whether it can be chosen; a disabled destination is skipped by the arrows.
final
hashCode → int
The hash code for this object.
no setterinherited
icon → IconData
Its glyph.
final
label → String
Its name, and what a screen reader calls it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedIcon → IconData?
Its glyph while selected; null: icon.
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