PortalNavigation class abstract interface

App-wide navigation facade (GoRouter, GetX, etc.).

Register via PortalNavigation.register during app bootstrap so shared platform services (deep links, session expiry) can navigate without GetX.

Implementers

Properties

currentPath → String?
Current location path (e.g. /inbox, /settings/cloud).
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

go(String path, {Object? extra}) → void
Replaces the entire navigation stack with path.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop({Object? result}) → void
Pops the current route when possible.
push(String path, {Object? extra}) → Future<void>
Pushes path onto the current stack.
replace(String path, {Object? extra}) → void
Replaces the top route with path.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

maybe → PortalNavigation?
no setter
require → PortalNavigation
no setter

Static Methods

register(PortalNavigation navigation) → void
unregister() → void