BaseRouter class abstract

Constructors

BaseRouter.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
routerConfig GoRouter
no setter
routes List<RouteBase>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRoutes(List<RouteBase> routes) → void
createRouter({List<RouteBase> extensions = const [], String initialLocation = '/'}) GoRouter
go(String location, {Object? extra}) → void
goNamed(String name, {Object? extra, Map<String, String> pathParameters = const <String, String>{}, Map<String, dynamic> queryParameters = const <String, dynamic>{}}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
push<T extends Object?>(String location, {Object? extra}) Future<T?>
pushNamed<T extends Object?>(String name, {Object? extra, Map<String, String> pathParameters = const <String, String>{}, Map<String, dynamic> queryParameters = const <String, dynamic>{}}) Future<T?>
pushReplacement<T extends Object?>(String location, {Object? extra}) Future<T?>
pushReplacementNamed<T extends Object?>(String name, {Object? extra, Map<String, String> pathParameters = const <String, String>{}, Map<String, dynamic> queryParameters = const <String, dynamic>{}}) Future<T?>
toString() String
A string representation of this object.
inherited

Operators

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