RoutingController class abstract
- Mixed in types
- Implementers
Constructors
Properties
-
no setter
- canPopSelfOrChildren → bool
-
no setter
-
childControllers
→ List<
RoutingController> -
no setter
- current → RouteData
-
no setter
- currentChild → RouteData?
-
no setter
- currentPath → String
-
no setter
-
currentSegments
→ List<
RouteMatch> -
no setter
- currentUrl → String
-
no setter
- hasEntries → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- isRoot → bool
-
no setter
- isTopMost → bool
-
no setter
- key → LocalKey
-
no setter
- managedByWidget → bool
-
no setter
- matcher → RouteMatcher
-
no setter
-
no setter
- pageBuilder → PageBuilder
-
no setter
- pageCount → int
-
no setter
- parentAsStackRouter → StackRouter?
-
no setter
- root → StackRouter
-
no setter
- routeCollection → RouteCollection
-
no setter
- routeData → RouteData
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stack
→ List<
StackedPage> -
no setter
-
stackData
→ List<
RouteData> -
no setter
- stateHash → int
-
no setter
- topMatch → RouteMatch
-
no setter
- topPage → StackedPage?
-
no setter
- topRoute → RouteData
-
no setter
- urlState → UrlState
-
no setter
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
attachChildController(
RoutingController childController) → void -
buildPageRoute(
String? path, {bool includePrefixMatches = true}) → PageRouteInfo? -
buildPageRoutesStack(
String? path, {bool includePrefixMatches = true}) → List< PageRouteInfo> ? -
canPop(
{bool ignoreChildRoutes = false, bool ignoreParentRoutes = false, bool ignorePagelessRoutes = false}) → bool -
clear(
) → void - Clears all tracked pages and childControllers
-
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
-
innerRouterOf<
T extends RoutingController> (String routeName) → T? -
isPathActive(
String path) → bool -
isRouteActive(
String routeName) → bool -
isRouteDataActive(
RouteData data) → bool -
markUrlStateForReplace(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyAll(
{bool forceUrlRebuild = false}) → void -
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
parent<
T extends RoutingController> () → T? -
pop<
T extends Object?> ([T? result]) → Future< bool> -
popTop<
T extends Object?> ([T? result]) → Future< bool> -
removeChildController(
RoutingController childController) → void -
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
topMostRouter(
{bool ignorePagelessRoutes = false}) → RoutingController -
toString(
) → String -
A string representation of this object.
override
-
updateRouteData(
RouteData data) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited