NavTab class
One tab of the shell's navigation: a branch's root, with the glyph and
the words it wears. The runtime emits one per StatefulShellBranch, in
branch order; the system decides how it looks.
- Annotations
Constructors
-
Creates a NavTab.
const
Properties
- ground → ChromeGround
-
The ground the branch's root stands on. It paints the BAR only, while
this tab is selected; the root page publishes its own
ChromeGroundScope (
ChromeRoutes.page(..., ground:)in the branch root's builder), never a scope above the branch container, which would restyle the offstage branches too.final - hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
The glyph the tab wears.
final
- key → Key?
-
The walkthrough key of the step that selects this tab, set on the
tab's hit target; null when no declared step taps it.
final
- label → String
-
The tab's name — printed or announced, as the system draws tabs.
final
- location → String
-
The location of the branch's root page, e.g.
/today.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedIcon → IconData?
-
The glyph the tab wears while its branch is selected; null wears
icon in the system's selected treatment.
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