GoTo class
Main class for GO_TO navigation package
Constructors
- GoTo()
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
-
back(
BuildContext context, {int times = 1}) → void - Go back to previous screen
-
first(
BuildContext context) → void - Go back to the first screen
-
named(
BuildContext context, String routeName, {Object? arguments, bool replace = false}) → Future< void> - Navigate to a named route
-
screen(
BuildContext context, Widget screen, {bool replace = false}) → Future< void> - Navigate to a new screen
-
transition(
BuildContext context, Widget screen, {PageTransition? transition, bool replace = false}) → Future< void> - Navigate with custom transition