RouteManager class

Constructors

RouteManager()
factory

Properties

allRouterPath List<String>
no setterinherited
currentPath String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
no setterinherited
no setterinherited
pathStack List<String>
no setterinherited
router → GoRouter
no setterinherited
routeStack List<GoRoute>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(VoidCallback listener) → void
inherited
canPop() bool
inherited
containPath(String? path) bool
inherited
containPathInStack(String? path) bool
inherited
getRouteFromPath(String? path) RoutePathMixin?
inherited
go(String location, {Map<String, dynamic>? arguments}) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop([Map<String, dynamic>? result]) → void
inherited
popToRoot() → void
inherited
push<T extends Object?>(String location, {Map<String, dynamic>? arguments}) Future<Map<String, dynamic>?>
inherited
pushOrReplace<T>(String location, {Map<String, dynamic>? arguments}) Future<Map<String, dynamic>?>
inherited
pushReplacement<T extends Object?>(String location, {Map<String, dynamic>? arguments}) Future<Map<String, dynamic>?>
inherited
removeListener(VoidCallback listener) → void
inherited
replace<T>(String location, {Map<String, dynamic>? arguments}) Future<Map<String, dynamic>?>
inherited
showAppGeneralDialog<T extends Object?>({required RoutePageBuilder pageBuilder, bool barrierDismissible = false, String? barrierLabel, Color barrierColor = const Color(0x80000000), Duration transitionDuration = const Duration(milliseconds: 200), RouteTransitionsBuilder? transitionBuilder, bool useRootNavigator = true, RouteSettings? routeSettings, Offset? anchorPoint}) Future<T?>
inherited
showAppModalBottomSheet<T>({required WidgetBuilder builder, Color? backgroundColor, double? elevation, ShapeBorder? shape, Clip? clipBehavior, BoxConstraints? constraints, Color? barrierColor, bool isScrollControlled = false, bool useRootNavigator = false, bool isDismissible = true, bool enableDrag = true, bool? showDragHandle, bool useSafeArea = false, RouteSettings? routeSettings, AnimationController? transitionAnimationController, Offset? anchorPoint}) Future<T?>
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance RouteManager
final

Static Methods

initRoute(BaseRouteConfig config) Future<void>