GoNavigation extension
- on
Properties
- arguments → dynamic
-
Available on GoInterface, provided by the GoNavigation extension
give current argumentsno setter - context → BuildContext?
-
Available on GoInterface, provided by the GoNavigation extension
give access to currentContextno setter - currentRoute → String
-
Available on GoInterface, provided by the GoNavigation extension
give name from current routeno setter - defaultDialogTransitionCurve → Curve
-
Available on GoInterface, provided by the GoNavigation extension
no setter - defaultDialogTransitionDuration → Duration
-
Available on GoInterface, provided by the GoNavigation extension
no setter - iconColor → Color?
-
Available on GoInterface, provided by the GoNavigation extension
give access to Theme.of(context).iconTheme.colorno setter - isBottomSheetOpen → bool?
-
Available on GoInterface, provided by the GoNavigation extension
check if bottomSheet is openno setter - isDialogOpen → bool?
-
Available on GoInterface, provided by the GoNavigation extension
check if dialog is openno setter - isOverlaysClosed → bool
-
Available on GoInterface, provided by the GoNavigation extension
Returns true if there is no SnackBar, Dialog or BottomSheet openno setter - isOverlaysOpen → bool
-
Available on GoInterface, provided by the GoNavigation extension
Returns true if a SnackBar, Dialog or BottomSheet is currently OPENno setter - isSnackBarOpen → bool
-
Available on GoInterface, provided by the GoNavigation extension
check if snackBar is openno setter -
key
→ GlobalKey<
NavigatorState> -
Available on GoInterface, provided by the GoNavigation extension
no setter - overlayContext → BuildContext?
-
Available on GoInterface, provided by the GoNavigation extension
give access to current Overlay Contextno setter - previousRoute → String
-
Available on GoInterface, provided by the GoNavigation extension
give name from previous routeno setter - previousRouting → Routing?
-
Available on GoInterface, provided by the GoNavigation extension
no setter - rawRoute → Route?
-
Available on GoInterface, provided by the GoNavigation extension
check a raw current routeno setter - routing → Routing
-
Available on GoInterface, provided by the GoNavigation extension
no setter -
routingQueue
→ Queue<
Routing> -
Available on GoInterface, provided by the GoNavigation extension
no setter - theme → ThemeData
-
Available on GoInterface, provided by the GoNavigation extension
give access to Theme.of(context)no setter
Methods
-
back<
T> ({T? result, bool closeOverlays = false, bool canPop = true, int? id}) → void -
Available on GoInterface, provided by the GoNavigation extension
Navigation.popUntil() shortcut.
-
canPop(
) → bool -
Available on GoInterface, provided by the GoNavigation extension
Returnstrue
if there is more than 1 page on the stack. -
closeAllSnackBars(
) → void -
Available on GoInterface, provided by the GoNavigation extension
-
closeCurrentSnackBar(
) → Future< void> -
Available on GoInterface, provided by the GoNavigation extension
-
global(
) → GoRouter -
Available on GoInterface, provided by the GoNavigation extension
-
go(
String location, {Map< String, dynamic> pathParams = const <String, dynamic>{}, Map<String, dynamic> queryParams = const <String, dynamic>{}, Map<String, dynamic> params = const <String, dynamic>{}}) → void -
Available on GoInterface, provided by the GoNavigation extension
Navigate to a location. -
goNamed(
String name, {Map< String, String> pathParams = const <String, String>{}, Map<String, dynamic> queryParams = const <String, dynamic>{}, Map<String, dynamic> params = const <String, dynamic>{}}) → void -
Available on GoInterface, provided by the GoNavigation extension
Navigate to a named route. -
namedLocation(
String name, {Map< String, String> pathParams = const <String, String>{}, Map<String, dynamic> queryParams = const <String, dynamic>{}}) → String -
Available on GoInterface, provided by the GoNavigation extension
Get a location from route name and parameters. -
pop<
T extends Object?> ([T? result]) → void -
Available on GoInterface, provided by the GoNavigation extension
Pop the top page off the Navigator's page stack by calling Navigator.pop. -
popUntil(
RoutePredicate predicate, {int? id}) → void -
Available on GoInterface, provided by the GoNavigation extension
Navigation.popUntil() shortcut.
-
push<
T> (String location, {Map< String, dynamic> pathParams = const <String, dynamic>{}, Map<String, dynamic> queryParams = const <String, dynamic>{}, Map<String, dynamic> params = const <String, dynamic>{}}) → Future<T?> -
Available on GoInterface, provided by the GoNavigation extension
Push a location onto the page stack. -
pushNamed<
T> (String name, {Map< String, String> pathParams = const <String, String>{}, Map<String, dynamic> queryParams = const <String, dynamic>{}, Map<String, dynamic> params = const <String, dynamic>{}}) → Future<T?> -
Available on GoInterface, provided by the GoNavigation extension
Navigate to a named route onto the page stack. -
pushReplacement<
T> (String location, {Object? extra}) → Future< T?> -
Available on GoInterface, provided by the GoNavigation extension
Replaces the top-most page of the page stack with the given URL location w/ optional query parameters, e.g./family/f2/person/p1?color=blue
. -
pushReplacementNamed<
T> (String name, {Map< String, String> pathParams = const <String, String>{}, Map<String, dynamic> queryParams = const <String, dynamic>{}, Object? extra}) → Future<T?> -
Available on GoInterface, provided by the GoNavigation extension
Replaces the top-most page of the page stack with the named route w/ optional parameters, e.g.name='person', params={'fid': 'f2', 'pid': 'p1'}
. -
to<
T> (String location, {Map< String, dynamic> pathParams = const <String, dynamic>{}, Map<String, dynamic> queryParams = const <String, dynamic>{}, Map<String, dynamic> params = const <String, dynamic>{}}) → Future<T?> -
Available on GoInterface, provided by the GoNavigation extension
-
toNamed<
T> (String name, {Map< String, String> pathParams = const <String, String>{}, Map<String, dynamic> queryParams = const <String, dynamic>{}, Map<String, dynamic> params = const <String, dynamic>{}}) → Future<T?> -
Available on GoInterface, provided by the GoNavigation extension
Static Properties
- goSetting ↔ GoSetting
-
Available on GoInterface, provided by the GoNavigation extension
getter/setter pair