RouterService class

Router Service

Properties

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

Methods

canPop() bool
Can Pop
go(String location, {Object? extra}) → void
Go
goNamed(String name, {Map<String, String> pathParameters = const <String, String>{}, Map<String, dynamic> queryParameters = const <String, dynamic>{}, Object? extra, String? fragment}) → dynamic
Go Named
namedLocation(String name, {Map<String, String> pathParameters = const <String, String>{}, Map<String, dynamic> queryParameters = const <String, dynamic>{}, String? fragment}) String
Name Location
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop<T extends Object?>([T? result]) → void
Pop
popTimes(int count) → void
Pop Times
push<T extends Object?>(String location, {Object? extra}) → void
Push
pushNamed<T extends Object?>(String name, {Map<String, String> pathParameters = const <String, String>{}, Map<String, dynamic> queryParameters = const <String, dynamic>{}, Object? extra}) → void
Push Named
pushReplacement(String location, {Object? extra}) → void
Push Replacement
pushReplacementNamed<T extends Object?>(String name, {Map<String, String> pathParameters = const <String, String>{}, Map<String, dynamic> queryParameters = const <String, dynamic>{}, Object? extra}) → void
Push Replacement Named
replace<T extends Object?>(String location, {Object? extra}) → void
Replace
replaceNamed<T extends Object?>(String name, {Map<String, String> pathParameters = const <String, String>{}, Map<String, dynamic> queryParameters = const <String, dynamic>{}, Object? extra}) → void
Replace Named
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance RouterService
Router Service Instance
no setter