MinimalNavItem class
A destination in a MinimalNavigationBar. The standard constructor shows its icon and text. MinimalNavItem.iconOnly uses semanticLabel to announce a destination with a hidden label.
- Annotations
Constructors
-
A destination showing
iconandlabel.const -
A tab that prints only its glyph; a screen reader still hears
semanticLabel.const -
A tab whose root stands on the media ground: while it is selected the
shell draws its bar in the dark tokens and the root ends at the bar's
top. Its root page stands on media through
MinimalPage(ground: MinimalGround.media).const
Properties
- ground → MinimalGround
-
The ground this tab's root stands on. It paints the shell's BAR while
the tab is selected; the root page publishes its own.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
Its glyph.
final
- key → Key?
-
A key for its tab, for tests to find it.
final
- label → String?
-
The words printed under the glyph; null only for
MinimalNavItem.iconOnly.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semanticLabel → String?
-
What a screen reader announces for a glyph-only tab.
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