GoSlide class

Constructors

GoSlide.new()

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

backAndTo(Widget page) Future<void>
If you want to pop sothing before pushing to another widget you could use it, just pass your widget to go
to<T extends Object?>(Widget page, {RouteSettings? settings, Duration transitionDuration = const Duration(milliseconds: 300), Duration reverseTransitionDuration = const Duration(milliseconds: 300), bool opaque = true, bool barrierDismissible = false, Color? barrierColor, String? barrierLabel, bool maintainState = true, bool fullscreenDialog = false, bool allowSnapshotting = true, Curve curve = Curves.linear, AxisDirection slideDirection = AxisDirection.left}) Future<T?>
This is simple navigation all you have to do just pass your widget to go
toRemoveUntil<T extends Object?>(Widget page, {RouteSettings? settings, Duration transitionDuration = const Duration(milliseconds: 300), Duration reverseTransitionDuration = const Duration(milliseconds: 300), bool opaque = true, bool barrierDismissible = false, Color? barrierColor, String? barrierLabel, bool maintainState = true, bool fullscreenDialog = false, bool allowSnapshotting = true, Curve curve = Curves.linear, AxisDirection slideDirection = AxisDirection.left, bool predicate(Route route)?}) Future<T?>
This is simple navigation all you have to do just pass your widget to go and it will remove all routes from the tree
toReplace<T extends Object?, TO extends Object?>(Widget page, {RouteSettings? settings, Duration transitionDuration = const Duration(milliseconds: 300), Duration reverseTransitionDuration = const Duration(milliseconds: 300), bool opaque = true, bool barrierDismissible = false, Color? barrierColor, String? barrierLabel, bool maintainState = true, bool fullscreenDialog = false, bool allowSnapshotting = true, Curve curve = Curves.linear, AxisDirection slideDirection = AxisDirection.left}) Future<T?>
This is simple navigation all you have to do just pass your widget to go and it will remove previous route from the tree