MicroAppNavigatorController class

Inheritance

Properties

eventController MicroAppNavigatorEventController
final
hashCode int
The hash code for this object.
no setterinherited
The navigator that the observer is observing, if any.
no setterinherited
navigatorKey
getter/setter pair
pageBuilders Map<String, PageBuilder<Widget>>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPageBuilders(Map<String, PageBuilder<Widget>> map) → void
addPageBuilders
debugObservingRoute(PageRoute route) bool
Whether this observer is managing changes for the specified route.
inherited
didPop(Route route, Route? previousRoute) → void
didPop
override
didPush(Route route, Route? previousRoute) → void
didPush
override
didRemove(Route route, Route? previousRoute) → void
The Navigator removed route.
inherited
didReplace({Route? newRoute, Route? oldRoute}) → void
didReplace
override
didStartUserGesture(Route route, Route? previousRoute) → void
The Navigator's routes are being moved by a user gesture.
inherited
didStopUserGesture() → void
User gesture is no longer controlling the Navigator.
inherited
filterPageBuilderForBaseRoute(MicroAppBaseRoute baseRoute) Map<String, PageBuilder<Widget>>
getPageBuilder(String? name, {MicroAppBaseRoute? baseRoute}) PageBuilder<Widget>?
getPageRoute(RouteSettings settings, {MicroAppBaseRoute? baseRoute, bool? routeNativeOnError}) Route?
getPageRoute
getPageWidget(String route, BuildContext context, {Object? arguments, String? type, Widget? orElse}) Widget
getPageWidget
hasRoute(String route) bool
hasRoute
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop<T extends Object?>([T? result, BuildContext? context, String? type]) → void
pop
popAndPushNamed<T extends Object?, TO extends Object?>(String routeName, {TO? result, Object? arguments, String? type, BuildContext? context}) Future<T?>
popAndPushNamed
popUntil(RoutePredicate predicate, {String? type, BuildContext? context}) → void
popUntil
push<T extends Object?>(Route<T> route, {BuildContext? context, String? type}) Future<T?>
push
pushNamed<T extends Object?>(String routeName, {Object? arguments, String? type, BuildContext? context}) Future<T?>
pushNamed
pushNamedAndRemoveUntil<T extends Object?>(String newRouteName, RoutePredicate predicate, {Object? arguments, String? type, BuildContext? context}) Future<T?>
pushNamedAndRemoveUntil
pushNamedNative<T>(String routeName, {Object? arguments, String? type}) Future<T?>
pushNamedNative
pushReplacementNamed<T extends Object?, TO extends Object?>(String routeName, {TO? result, Object? arguments, String? type, BuildContext? context}) Future<T?>
pushReplacementNamed
shouldTryOpenRoute(String route, {Object? arguments, String? type, BuildContext? context}) bool
Verify if the route can be opened Route is registered results true, if onRouteNotRegistered is not null and Route is not registered, it triggers the callback and aborts the navigation
subscribe(RouteAware routeAware, PageRoute route) → void
Subscribe routeAware to be informed about changes to route.
inherited
toString() String
A string representation of this object.
inherited
unsubscribe(RouteAware routeAware) → void
Unsubscribe routeAware.
inherited

Operators

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