GetNavigation extension
- on
Properties
- arguments → dynamic
-
Available on GetInterface, provided by the GetNavigation extension
give current argumentsno setter - bottomBarHeight → double
-
Available on GetInterface, provided by the GetNavigation extension
The distance from the bottom edge to the first unpadded pixel, in physical pixels.no setter - context → BuildContext?
-
Available on GetInterface, provided by the GetNavigation extension
give access to currentContextno setter - currentRoute → String
-
Available on GetInterface, provided by the GetNavigation extension
give name from current routeno setter - customTransition ↔ CustomTransition?
-
Available on GetInterface, provided by the GetNavigation extension
getter/setter pair - defaultDialogTransitionCurve → Curve
-
Available on GetInterface, provided by the GetNavigation extension
no setter - defaultDialogTransitionDuration → Duration
-
Available on GetInterface, provided by the GetNavigation extension
no setter - defaultOpaqueRoute → bool
-
Available on GetInterface, provided by the GetNavigation extension
no setter - defaultPopGesture → bool
-
Available on GetInterface, provided by the GetNavigation extension
no setter - defaultTransition → Transition?
-
Available on GetInterface, provided by the GetNavigation extension
no setter - defaultTransitionCurve → Curve
-
Available on GetInterface, provided by the GetNavigation extension
no setter - defaultTransitionDuration → Duration
-
Available on GetInterface, provided by the GetNavigation extension
no setter - deviceLocale → Locale?
-
Available on GetInterface, provided by the GetNavigation extension
no setter - engine → WidgetsBinding
-
Available on GetInterface, provided by the GetNavigation extension
The current WidgetsBindingno setter - focusScope → FocusNode?
-
Available on GetInterface, provided by the GetNavigation extension
give access to FocusScope.of(context)no setter - height → double
-
Available on GetInterface, provided by the GetNavigation extension
The vertical extent of this sizeno setter - iconColor → Color?
-
Available on GetInterface, provided by the GetNavigation extension
give access to Theme.of(context).iconTheme.colorno setter - isBottomSheetOpen → bool?
-
Available on GetInterface, provided by the GetNavigation extension
check if bottomsheet is openno setter - isDarkMode → bool
-
Available on GetInterface, provided by the GetNavigation extension
Check if dark mode theme is enableno setter - isDialogOpen → bool?
-
Available on GetInterface, provided by the GetNavigation extension
check if dialog is openno setter - isOpaqueRouteDefault → bool
-
Available on GetInterface, provided by the GetNavigation extension
check if default opaque route is enableno setter - isOverlaysClosed → bool
-
Available on GetInterface, provided by the GetNavigation extension
Returns true if there is no Snackbar, Dialog or BottomSheet openno setter - isOverlaysOpen → bool
-
Available on GetInterface, provided by the GetNavigation extension
Returns true if a Snackbar, Dialog or BottomSheet is currently OPENno setter - isPlatformDarkMode → bool
-
Available on GetInterface, provided by the GetNavigation extension
Check if dark mode theme is enable on platform on android Q+no setter - isPopGestureEnable → bool
-
Available on GetInterface, provided by the GetNavigation extension
check if popGesture is enableno setter - isSnackbarOpen → bool
-
Available on GetInterface, provided by the GetNavigation extension
check if snackbar is openno setter -
key
→ GlobalKey<
NavigatorState> -
Available on GetInterface, provided by the GetNavigation extension
no setter -
keys
→ Map<
dynamic, GlobalKey< NavigatorState> > -
Available on GetInterface, provided by the GetNavigation extension
no setter - mediaQuery → MediaQueryData
-
Available on GetInterface, provided by the GetNavigation extension
give access to Mediaquery.of(context)no setter - overlayContext → BuildContext?
-
Available on GetInterface, provided by the GetNavigation extension
give access to current Overlay Contextno setter -
parameters
↔ Map<
String, String?> -
Available on GetInterface, provided by the GetNavigation extension
getter/setter pair - pixelRatio → double
-
Available on GetInterface, provided by the GetNavigation extension
The number of device pixels for each logical pixel.no setter - previousRoute → String
-
Available on GetInterface, provided by the GetNavigation extension
give name from previous routeno setter - rawRoute → Route?
-
Available on GetInterface, provided by the GetNavigation extension
check a raw current routeno setter - rootController → GetMaterialController
-
Available on GetInterface, provided by the GetNavigation extension
no setter - routing → Routing
-
Available on GetInterface, provided by the GetNavigation extension
no setter - size → Size
-
Available on GetInterface, provided by the GetNavigation extension
no setter - statusBarHeight → double
-
Available on GetInterface, provided by the GetNavigation extension
The distance from the top edge to the first unpadded pixel, in physical pixels.no setter - testMode ↔ bool
-
Available on GetInterface, provided by the GetNavigation extension
getter/setter pair - textScaleFactor → double
-
Available on GetInterface, provided by the GetNavigation extension
The system-reported text scale.no setter - textTheme → TextTheme
-
Available on GetInterface, provided by the GetNavigation extension
give access to TextTheme.of(context)no setter - theme → ThemeData
-
Available on GetInterface, provided by the GetNavigation extension
give access to Theme.of(context)no setter - width → double
-
Available on GetInterface, provided by the GetNavigation extension
The horizontal extent of this size.no setter - window → SingletonFlutterWindow
-
Available on GetInterface, provided by the GetNavigation extension
The window to which this binding is bound.no setter
Methods
-
addKey(
GlobalKey< NavigatorState> newKey) → GlobalKey<NavigatorState> ? -
Available on GetInterface, provided by the GetNavigation extension
-
appUpdate(
) → void -
Available on GetInterface, provided by the GetNavigation extension
-
back<
T> ({T? result, bool closeOverlays = false, bool canPop = true, int? id}) → void -
Available on GetInterface, provided by the GetNavigation extension
Navigation.popUntil() shortcut.
-
changeTheme(
ThemeData theme) → void -
Available on GetInterface, provided by the GetNavigation extension
-
changeThemeMode(
ThemeMode themeMode) → void -
Available on GetInterface, provided by the GetNavigation extension
-
close(
int times, [int? id]) → void -
Available on GetInterface, provided by the GetNavigation extension
Navigation.popUntil() (with predicate) shortcut .
-
closeAllSnackbars(
) → void -
Available on GetInterface, provided by the GetNavigation extension
-
closeCurrentSnackbar(
) → Future< void> -
Available on GetInterface, provided by the GetNavigation extension
-
config(
{bool? enableLog, LogWriterCallback? logWriterCallback, bool? defaultPopGesture, bool? defaultOpaqueRoute, Duration? defaultDurationTransition, bool? defaultGlobalState, Transition? defaultTransition}) → void -
Available on GetInterface, provided by the GetNavigation extension
change default config of Get -
forceAppUpdate(
) → Future< void> -
Available on GetInterface, provided by the GetNavigation extension
As a rule, Flutter knows which widget to update, so this command is rarely needed. We can mention situations where you use const so that widgets are not updated with setState, but you want it to be forcefully updated when an event like language change happens. using context to make the widget dirty for performRebuild() is a viable solution. However, in situations where this is not possible, or at least, is not desired by the developer, the only solution for updating widgets that Flutter does not want to update is to use reassemble to forcibly rebuild all widgets. Attention: calling this function will reconstruct the application from the sketch, use this with caution. Your entire application will be rebuilt, and touch events will not work until the end of rendering. -
global(
int? k) → GlobalKey< NavigatorState> -
Available on GetInterface, provided by the GetNavigation extension
-
nestedKey(
dynamic key) → GlobalKey< NavigatorState> ? -
Available on GetInterface, provided by the GetNavigation extension
-
off<
T> (dynamic page, {bool opaque = false, Transition? transition, Curve? curve, bool? popGesture, int? id, String? routeName, dynamic arguments, Bindings? binding, bool fullscreenDialog = false, bool preventDuplicates = true, Duration? duration, double gestureWidth(BuildContext context)?}) → Future< T?> ? -
Available on GetInterface, provided by the GetNavigation extension
Navigation.pushReplacement() shortcut .
-
offAll<
T> (dynamic page, {RoutePredicate? predicate, bool opaque = false, bool? popGesture, int? id, String? routeName, dynamic arguments, Bindings? binding, bool fullscreenDialog = false, Transition? transition, Curve? curve, Duration? duration, double gestureWidth(BuildContext context)?}) → Future< T?> ? -
Available on GetInterface, provided by the GetNavigation extension
Push apage
and pop several pages in the stack untilpredicate
returns true.predicate
is optional -
offAllNamed<
T> (String newRouteName, {RoutePredicate? predicate, dynamic arguments, int? id, Map< String, String> ? parameters}) → Future<T?> ? -
Available on GetInterface, provided by the GetNavigation extension
Navigation.pushNamedAndRemoveUntil() shortcut.
-
offAndToNamed<
T> (String page, {dynamic arguments, int? id, dynamic result, Map< String, String> ? parameters}) → Future<T?> ? -
Available on GetInterface, provided by the GetNavigation extension
Navigation.popAndPushNamed() shortcut.
-
offNamed<
T> (String page, {dynamic arguments, int? id, bool preventDuplicates = true, Map< String, String> ? parameters}) → Future<T?> ? -
Available on GetInterface, provided by the GetNavigation extension
Navigation.pushReplacementNamed() shortcut.
-
offNamedUntil<
T> (String page, RoutePredicate predicate, {int? id, dynamic arguments, Map< String, String> ? parameters}) → Future<T?> ? -
Available on GetInterface, provided by the GetNavigation extension
Navigation.pushNamedAndRemoveUntil() shortcut.
-
offUntil<
T> (Route< T> page, RoutePredicate predicate, {int? id}) → Future<T?> ? -
Available on GetInterface, provided by the GetNavigation extension
Navigation.pushAndRemoveUntil() shortcut.
-
removeRoute(
Route route, {int? id}) → void -
Available on GetInterface, provided by the GetNavigation extension
Navigation.removeRoute() shortcut.
-
Available on GetInterface, provided by the GetNavigation extension
-
to<
T> (dynamic page, {bool? opaque, Transition? transition, Curve? curve, Duration? duration, int? id, String? routeName, bool fullscreenDialog = false, dynamic arguments, Bindings? binding, bool preventDuplicates = true, bool? popGesture, double gestureWidth(BuildContext context)?}) → Future< T?> ? -
Available on GetInterface, provided by the GetNavigation extension
Navigation.push() shortcut.
-
toNamed<
T> (String page, {dynamic arguments, int? id, bool preventDuplicates = true, Map< String, String> ? parameters}) → Future<T?> ? -
Available on GetInterface, provided by the GetNavigation extension
Navigation.pushNamed() shortcut.
-
until(
RoutePredicate predicate, {int? id}) → void -
Available on GetInterface, provided by the GetNavigation extension
Navigation.popUntil() shortcut.
-
updateLocale(
Locale l) → Future< void> -
Available on GetInterface, provided by the GetNavigation extension