KaiselStackEntry<R extends KaiselRoute> class
Identity-stable wrapper for a route on the stack.
Two value-equal routes (e.g. const Home() pushed twice) still need
distinct identities for the Navigator to diff them correctly across
rebuilds. The router assigns a monotonic id per entry; the delegate
uses it to key the corresponding Page. Identity is preserved
across navigations where the route at a given position is unchanged,
so push/pop/replaceTop don't tear down sibling pages.
- Annotations
-
- @immutable
Constructors
- KaiselStackEntry(R route)
-
Wrap
route, assigning it a process-unique identity id.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited