UiRouteEntry class

A single entry on a UiNavigationController stack.

Stack entries are immutable snapshots; the controller replaces the list-valued listenable with a new list when the stack changes so ValueListenableBuilder rebuilds cleanly. The private completer is what the controller uses to complete the Future returned by push when the entry is popped with a result.

Annotations

Constructors

UiRouteEntry({required String id, Object? args, String? title, Completer<Object?>? completer})
const

Properties

args Object?
Typed payload that was passed to push. null for arg-less routes.
final
completer Completer<Object?>?
The completer that resolves when this entry is popped.
final
displayTitle String
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
Route identifier — matches the UiRouteSpec.id that built it.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
Display label for history menus. Falls back to id.
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