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<T extends Object?>([T? result]) → void
push<T extends Object?, R extends Object?>(dynamic route, {bool? allowSnapshotting, Curve? animationCurve, int? animationTime, int? animationReserveTime, AnimationType? animationType, Map<String, dynamic> arguments = const {}, Color? barrierColor, bool? barrierDismissible, String? barrierLabel, bool? fullscreenDialog, String? name, Flag? flag, bool? maintainState, bool? opaque, RoutePredicate? predicate, R? result}) 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, {bool? allowSnapshotting, Curve? animationCurve, int? animationTime, int? animationReserveTime, AnimationType? animationType, Map<String, dynamic> arguments = const {}, Color? barrierColor, bool? barrierDismissible, String? barrierLabel, bool? fullscreenDialog, String? name, Flag? flag, bool? maintainState, bool? opaque, RoutePredicate? predicate, R? result}) Future<T?>
terminate(BuildContext context, {Object? result}) → void