ExpressiveNavItem class
A named navigation destination with an icon and an optional badge.
- Annotations
Constructors
-
A destination showing
iconand labelledlabel.const - The design kit's tab as a navigation item: its glyph, label, selected glyph and key.
Properties
- badge → Widget?
-
A badge on the glyph's top end corner: an ExpressiveBadge.
final
- enabled → bool
-
Whether the item can be selected.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
The glyph: one of
ExpressiveSymbols, which fills when selected.final - key → Key?
-
The key for the destination's interactive area.
final
- label → String
-
The label under (or beside) the glyph.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedIcon → IconData?
-
The glyph while selected; null fills icon instead.
final
- style → ExpressiveComponentThemeData?
-
Stateful visual overrides for this destination.
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