NavigationBranch class

Describes one branch (tab) in a tabbed navigation shell.

A branch owns its own independent navigation stack. The first entry of that stack is initialNavigation; subsequent pushes/presents append to it. Switching branches preserves each branch's stack.

Constructors

const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → NavigationBranchId
Unique identity for this branch. Must be a const/frozen value.
final
initialNavigation → ViewNavigationType
The root page of this branch's stack.
final
resolvedScreenName → String
Resolved screen name, falling back to initialNavigation's screen name.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
screenName → String?
Screen name used for analytics and deep-link serialization. Defaults to initialNavigation's screen name when null.
final
wantsKeepAlive → bool
When true (default), the branch's widget subtree is kept alive while off-stage. When false, it is disposed and rebuilt on return.
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