AppRoute class Null safety

Inheritance

Constructors

AppRoute([GlobalKey<NavigatorState>? navigatorKey])

Properties

activeGuardObserver ActiveGuardObserver
late, final, inherited
canNavigateBack bool
read-only, inherited
canPopSelfOrChildren bool
read-only, inherited
childControllers List<RoutingController>
read-only, inherited
current RouteData
read-only, inherited
currentChild RouteData?
read-only, inherited
currentPath String
read-only, inherited
currentSegments List<RouteMatch>
read-only, inherited
currentUrl String
read-only, inherited
hasEntries bool
read-only, inherited
hashCode int
The hash code for this object.
read-only, inherited
hasListeners bool
Whether any listeners are currently registered.
@protected, read-only, inherited
hasPagelessTopRoute bool
read-only, inherited
isRoot bool
read-only, inherited
isTopMost bool
read-only, inherited
key LocalKey
final, inherited
managedByWidget bool
read-only, inherited
matcher → RouteMatcher
late, final, inherited
read-only, inherited
read-only, inherited
onNavigate OnNestedNavigateCallBack?
final, inherited
pageBuilder PageBuilder
read-only, inherited
pageCount int
read-only, inherited
pagelessRoutesObserver → PagelessRoutesObserver
final, inherited
pagesMap Map<String, PageFactory>
final
parentAsStackRouter StackRouter?
read-only, inherited
pendingRoutesHandler PendingRoutesHandler
late, final, inherited
root StackRouter
read-only, inherited
routeCollection → RouteCollection
late, final, inherited
routeData RouteData
read-only, inherited
routes List<RouteConfig>
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stack List<AutoRoutePage>
read-only, inherited
stackData List<RouteData>
read-only, inherited
stateHash int
read-only, inherited
topMatch RouteMatch
read-only, inherited
topPage AutoRoutePage?
read-only, inherited
topRoute RouteData
read-only, inherited
urlState UrlState
read-only, inherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
attachChildController(RoutingController childController) → void
inherited
buildPageRoute(String? path, {bool includePrefixMatches = true}) PageRouteInfo?
inherited
buildPageRoutesStack(String? path, {bool includePrefixMatches = true}) List<PageRouteInfo>?
inherited
declarativeDelegate({required RoutesBuilder routes, String? navRestorationScopeId, RoutePopCallBack? onPopRoute, String? initialDeepLink, OnNavigateCallBack? onNavigate, NavigatorObserversBuilder navigatorObservers = AutoRouterDelegate.defaultNavigatorObserversBuilder}) AutoRouterDelegate
inherited
defaultRouteParser({bool includePrefixMatches = false}) DefaultRouteParser
inherited
delegate({List<PageRouteInfo>? initialRoutes, String? initialDeepLink, String? navRestorationScopeId, WidgetBuilder? placeholder, NavigatorObserversBuilder navigatorObservers = AutoRouterDelegate.defaultNavigatorObserversBuilder}) AutoRouterDelegate
inherited
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?
inherited
isPathActive(String path) bool
inherited
isRouteActive(String routeName) bool
inherited
isRouteDataActive(RouteData data) bool
inherited
markUrlStateForReplace() → void
inherited
inherited
inherited
inherited
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
notifyAll({bool forceUrlRebuild = false}) → void
inherited
notifyListeners() → void
Call all the registered listeners.
parent<T extends RoutingController>() → T?
inherited
pop<T extends Object?>([T? result]) Future<bool>
@optionalTypeArgs, inherited
popAndPush<T extends Object?, TO extends Object?>(PageRouteInfo route, {TO? result, OnNavigationFailure? onFailure}) Future<T?>
@optionalTypeArgs, inherited
popAndPushAll(List<PageRouteInfo> routes, {dynamic onFailure}) Future<void>
inherited
popForced<T extends Object?>([T? result]) → void
@optionalTypeArgs, inherited
popTop<T extends Object?>([T? result]) Future<bool>
@optionalTypeArgs, inherited
popUntil(RoutePredicate predicate) → void
inherited
popUntilRoot() → void
inherited
popUntilRouteWithName(String name) → void
inherited
push<T extends Object?>(PageRouteInfo route, {OnNavigationFailure? onFailure}) Future<T?>
@optionalTypeArgs, inherited
pushAll(List<PageRouteInfo> routes, {OnNavigationFailure? onFailure}) Future<void>
inherited
pushAndPopUntil<T extends Object?>(PageRouteInfo route, {required RoutePredicate predicate, OnNavigationFailure? onFailure}) Future<T?>
@optionalTypeArgs, inherited
pushNamed<T extends Object?>(String path, {bool includePrefixMatches = false, OnNavigationFailure? onFailure}) Future<T?>
@optionalTypeArgs, inherited
pushNativeRoute<T extends Object?>(Route<T> route) Future<T?>
inherited
pushWidget<T extends Object?>(Widget widget, {RouteTransitionsBuilder? transitionBuilder, bool fullscreenDialog = false, Duration transitionDuration = const Duration(milliseconds: 300)}) Future<T?>
inherited
removeChildController(RoutingController childController) → void
inherited
removeLast() bool
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
removeRoute(RouteData route, {bool notify = true}) → void
inherited
removeUntil(RouteDataPredicate predicate) bool
inherited
removeWhere(RouteDataPredicate predicate, {bool notify = true}) bool
inherited
replace<T extends Object?>(PageRouteInfo route, {OnNavigationFailure? onFailure}) Future<T?>
@optionalTypeArgs, inherited
replaceAll(List<PageRouteInfo> routes, {OnNavigationFailure? onFailure}) Future<void>
inherited
replaceNamed<T extends Object?>(String path, {bool includePrefixMatches = false, OnNavigationFailure? onFailure}) Future<T?>
@optionalTypeArgs, inherited
routeInfoProvider({RouteInformation? initialRouteInformation}) AutoRouteInformationProvider
inherited
topMostRouter({bool ignorePagelessRoutes = false}) RoutingController
inherited
toString() String
A string representation of this object.
inherited
updateDeclarativeRoutes(List<PageRouteInfo> routes) → void
inherited
updateRouteData(RouteData data) → void
inherited

Operators

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