AppNavigator class

Constructors

AppNavigator.of(BuildContext context)
factory

Properties

context BuildContext
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

go(String route, {Object? extra, String path = "", Map<String, dynamic> queryParams = const <String, dynamic>{}}) → void
goBack([Object? result]) → void
goHome(String route, {String path = "", Object? extra, Map<String, dynamic> queryParams = const <String, dynamic>{}}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop([Object? result]) → void
push<T extends Object?, R extends Object?>(dynamic route, {String? name, Map<String, dynamic>? arguments, Flag flag = Flag.none, RoutePredicate? predicate, R? result, AnimType type = AnimType.slideLeft}) Future<T?>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

load<T extends Object?, R extends Object?>(BuildContext context, dynamic route, {String? name, Map<String, dynamic>? arguments, Flag flag = Flag.none, RoutePredicate? predicate, R? result, AnimType type = AnimType.slideLeft}) Future<T?>
terminate(BuildContext context, [Object? result]) → void