Navigate<T> class

Constructors

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

Operators

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

Static Methods

popToFirst(BuildContext context, {bool isRootNavigator = true}) → void
popView<T>(BuildContext context, {T? value, bool isRootNavigator = true}) Future<void>
push<T>(BuildContext context, Widget widget, {bool isDialog = false, bool isRootNavigator = true, Offset? offset, TransitionType transitionType = TransitionType.scale, Duration transitionDuration = const Duration(milliseconds: 300)}) Future<T?>
pushAndPopAll(BuildContext context, Widget widget, {bool isRootNavigator = true, Offset? offset, TransitionType transitionType = TransitionType.scale, Duration transitionDuration = const Duration(milliseconds: 300)}) Future<void>
pushNamed(BuildContext context, String path, {bool isDialog = false, Object? arguments, TransitionType transitionType = TransitionType.scale, bool isRootNavigator = false}) Future<void>
pushReplace<T>(BuildContext context, Widget widget, {bool isDialog = false, bool isRootNavigator = true, Offset? offset, TransitionType transitionType = TransitionType.scale, Duration transitionDuration = const Duration(milliseconds: 300)}) Future<T?>
Replace the top widget with another widget
pushReplaceNamed<T>(BuildContext context, String path, {bool isDialog = false, Object? arguments, bool isRootNavigator = false}) Future<T?>