NavigatorManager class

NavigatorManager

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

context({String? routeName}) BuildContext
Context.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop({dynamic result}) → dynamic
Pop.
popUntil({required String? untilRouteName}) → dynamic
PopUntiluntilRouteName.
push<T extends Object?>({required Route<T> route}) Future<T?>
push
pushNamed({required String routeName, dynamic argument}) → dynamic
Push.
pushNamedAndRemoveUntil({required String newRouteName, required String? untilRouteName, dynamic argument, RoutePageAnimation routePageAnimation = AirouteTransition.Slide}) → dynamic
PushnewRouteNameand remove until untilRouteName.
pushNamedWithAnimation({required String routeName, dynamic argument, RoutePageAnimation routePageAnimation = AirouteTransition.Slide, Duration duration = const Duration(milliseconds: 500)}) → dynamic
Push with animation.
pushReplacementNamed({required String routeName, dynamic argument}) → dynamic
Replace.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

GLOBAL_KEY GlobalKey<NavigatorState>
Navigator.
final
navigatorKey.
no setter

Static Methods

getInstance() NavigatorManager?
Instance.
initializeGenerateRoute(RouteSettings routeSettings) Route
Initialize generate route.
initializeRoutes({required Map<String, WidgetBuilder> routes}) Map<String, WidgetBuilder>
Initialize routes_route.