NavigatorUtils class
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
canPop(BuildContext context)
→ bool
-
-
getCurrentPage(BuildContext context)
→ Widget
-
-
getPreviousPage(BuildContext context)
→ Widget?
-
-
handleBackPressed(BuildContext context)
→ Future<bool>
-
-
mayBePop(BuildContext context, {dynamic result})
→ void
-
-
pop(BuildContext context, {dynamic result})
→ void
-
-
push<T>(BuildContext context, Widget child, {PageState? pageState, bool fullscreenDialog = false, bool maintainState = true, TransitionType transitionType = TransitionType.none, RouteTransitionsBuilder? transition, Duration transitionDuration = const Duration(milliseconds: 300), Duration reverseTransitionDuration = const Duration(milliseconds: 300)})
→ Future<T?>
-
-
pushDialog<T>(BuildContext context, Widget child, {bool barrierDismissible = true, Color? barrierColor = Colors.black54, String? barrierLabel, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings? routeSettings})
→ Future<T?>
-
-
pushModalBottomSheet<T>(BuildContext context, Widget child, {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?>
-
-
setResult(BuildContext context, dynamic result)
→ dynamic
-