CosmosTools 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
-
allCloseAndGo(
BuildContext context, String routeName) → void - Closes all screens and opens a new screen with RouteName. You need to specify 'routes' from within the MaterialApp widget for it to work.
-
back(
BuildContext context) → void - Close this screen and return to the previous screen.
-
go(
BuildContext context, String routeName) → void - Opens a new screen with RouteName. You need to specify 'routes' from within the MaterialApp widget for it to work.
-
pageRouteNonAnimation(
dynamic name, dynamic page) → PageRouteBuilder? -
sortFromList(
List list, int index) → List -
to(
BuildContext context, Widget page) → void - Switches from the current screen to the target screen.