NavigationExtension extension
Properties
- arguments → dynamic
-
Available on SintInterface, provided by the NavigationExtension extension
give current argumentsno setter - bottomBarHeight → double
-
Available on SintInterface, provided by the NavigationExtension extension
The distance from the bottom edge to the first unpadded pixel, in physical pixels.no setter - context → BuildContext?
-
Available on SintInterface, provided by the NavigationExtension extension
give access to currentContextno setter - currentRoute → String
-
Available on SintInterface, provided by the NavigationExtension extension
give name from current routeno setter - defaultDialogTransitionCurve → Curve
-
Available on SintInterface, provided by the NavigationExtension extension
no setter - defaultDialogTransitionDuration → Duration
-
Available on SintInterface, provided by the NavigationExtension extension
no setter - defaultOpaqueRoute → bool
-
Available on SintInterface, provided by the NavigationExtension extension
no setter - defaultPopGesture → bool?
-
Available on SintInterface, provided by the NavigationExtension extension
no setter - defaultTransition → Transition?
-
Available on SintInterface, provided by the NavigationExtension extension
no setter - defaultTransitionCurve → Curve
-
Available on SintInterface, provided by the NavigationExtension extension
no setter - defaultTransitionDuration → Duration
-
Available on SintInterface, provided by the NavigationExtension extension
no setter - deviceLocale → Locale?
-
Available on SintInterface, provided by the NavigationExtension extension
no setter - engine → WidgetsBinding
-
Available on SintInterface, provided by the NavigationExtension extension
The current null safe WidgetsBindingno setter - focusScope → FocusNode?
-
Available on SintInterface, provided by the NavigationExtension extension
give access to FocusScope.of(context)no setter - height → double
-
Available on SintInterface, provided by the NavigationExtension extension
The vertical extent of this sizeno setter - iconColor → Color?
-
Available on SintInterface, provided by the NavigationExtension extension
give access to Theme.of(context).iconTheme.colorno setter - isBottomSheetOpen → bool?
-
Available on SintInterface, provided by the NavigationExtension extension
check if bottomsheet is openno setter - isDarkMode → bool
-
Available on SintInterface, provided by the NavigationExtension extension
Check if dark mode theme is enableno setter - isDialogOpen → bool?
-
Available on SintInterface, provided by the NavigationExtension extension
check if dialog is openno setter - isOpaqueRouteDefault → bool
-
Available on SintInterface, provided by the NavigationExtension extension
check if default opaque route is enableno setter - isOverlaysClosed → bool
-
Available on SintInterface, provided by the NavigationExtension extension
Returns true if there is no Snackbar, Dialog or BottomSheet openno setter - isOverlaysOpen → bool
-
Available on SintInterface, provided by the NavigationExtension extension
Returns true if a Snackbar, Dialog or BottomSheet is currently OPENno setter - isPlatformDarkMode → bool
-
Available on SintInterface, provided by the NavigationExtension extension
Check if dark mode theme is enable on platform on android Q+no setter - isSnackbarOpen → bool
-
Available on SintInterface, provided by the NavigationExtension extension
check if snackbar is openno setter -
key
→ GlobalKey<
NavigatorState> -
Available on SintInterface, provided by the NavigationExtension extension
no setter -
keys
→ Map<
String, SintDelegate> -
Available on SintInterface, provided by the NavigationExtension extension
no setter - mediaQuery → MediaQueryData
-
Available on SintInterface, provided by the NavigationExtension extension
give access to Mediaquery.of(context)no setter - overlayContext → BuildContext?
-
Available on SintInterface, provided by the NavigationExtension extension
give access to current Overlay Contextno setter -
parameters
→ Map<
String, String?> -
Available on SintInterface, provided by the NavigationExtension extension
no setter - pixelRatio → double
-
Available on SintInterface, provided by the NavigationExtension extension
The number of device pixels for each logical pixel.no setter - previousRoute → String
-
Available on SintInterface, provided by the NavigationExtension extension
give name from previous routeno setter - rawRoute → Route?
-
Available on SintInterface, provided by the NavigationExtension extension
check a raw current routeno setter - rootController → SintRootState
-
Available on SintInterface, provided by the NavigationExtension extension
no setter - routing → Routing
-
Available on SintInterface, provided by the NavigationExtension extension
no setter - size → Size
-
Available on SintInterface, provided by the NavigationExtension extension
no setter - statusBarHeight → double
-
Available on SintInterface, provided by the NavigationExtension extension
The distance from the top edge to the first unpadded pixel, in physical pixels.no setter - testMode ↔ bool
-
Available on SintInterface, provided by the NavigationExtension extension
getter/setter pair - textScaleFactor → double
-
Available on SintInterface, provided by the NavigationExtension extension
The system-reported text scale.no setter - textTheme → TextTheme
-
Available on SintInterface, provided by the NavigationExtension extension
give access to TextTheme.of(context)no setter - theme → ThemeData
-
Available on SintInterface, provided by the NavigationExtension extension
give access to Theme.of(context)no setter - width → double
-
Available on SintInterface, provided by the NavigationExtension extension
The horizontal extent of this size.no setter - window → PlatformDispatcher
-
Available on SintInterface, provided by the NavigationExtension extension
The window to which this binding is bound.no setter
Methods
-
addKey(
GlobalKey< NavigatorState> newKey) → GlobalKey<NavigatorState> ? -
Available on SintInterface, provided by the NavigationExtension extension
-
appUpdate(
) → void -
Available on SintInterface, provided by the NavigationExtension extension
-
args<
T> () → T -
Available on SintInterface, provided by the NavigationExtension extension
-
back<
T> ({T? result, bool canPop = true, int times = 1, String? id}) → void -
Available on SintInterface, provided by the NavigationExtension extension
Navigation.popUntil() shortcut.
-
backLegacy<
T> ({T? result, bool closeOverlays = false, bool canPop = true, int times = 1, String? id}) → void -
Available on SintInterface, provided by the NavigationExtension extension
Pop the current page, snackbar, dialog or bottomsheet in the stack -
changeTheme(
ThemeData theme) → void -
Available on SintInterface, provided by the NavigationExtension extension
-
changeThemeMode(
ThemeMode themeMode) → void -
Available on SintInterface, provided by the NavigationExtension extension
-
close<
T extends Object> ({bool closeAll = true, bool closeSnackbar = true, bool closeDialog = true, bool closeBottomSheet = true, String? id, T? result}) → void -
Available on SintInterface, provided by the NavigationExtension extension
Navigation.popUntil() (with predicate) shortcut .
-
closeAllBottomSheets(
{String? id}) → void -
Available on SintInterface, provided by the NavigationExtension extension
-
closeAllDialogs(
{String? id}) → void -
Available on SintInterface, provided by the NavigationExtension extension
-
closeAllDialogsAndBottomSheets(
String? id) → void -
Available on SintInterface, provided by the NavigationExtension extension
-
closeAllOverlays(
) → void -
Available on SintInterface, provided by the NavigationExtension extension
-
closeAllSnackbars(
) → void -
Available on SintInterface, provided by the NavigationExtension extension
-
closeBottomSheet<
T> ({String? id, T? result}) → void -
Available on SintInterface, provided by the NavigationExtension extension
-
closeCurrentSnackbar(
) → Future< void> -
Available on SintInterface, provided by the NavigationExtension extension
-
closeDialog<
T> ({String? id, T? result}) → void -
Available on SintInterface, provided by the NavigationExtension extension
Close the currently open dialog, returning aresult, if provided -
closeOverlay<
T> ({String? id, T? result}) → void -
Available on SintInterface, provided by the NavigationExtension extension
Close the current overlay returning theresult, if provided -
delegate<
TDelegate extends RouterDelegate< (TPage> , TPage>) → TDelegate? -
Available on SintInterface, provided by the NavigationExtension extension
Casts the stored router delegate to a desired type -
forceAppUpdate(
) → Future< void> -
Available on SintInterface, provided by the NavigationExtension 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 ui 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 ui that Flutter does not want to update is to use reassemble to forcibly rebuild all ui. 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. -
nestedKey(
String? key) → SintDelegate? -
Available on SintInterface, provided by the NavigationExtension extension
-
off<
T> (Widget page(), {bool? opaque, Transition? transition, Curve? curve, bool? popGesture, String? id, String? routeName, dynamic arguments, List< BindingsInterface> bindings = const [], bool fullscreenDialog = false, bool preventDuplicates = true, Duration? duration, double gestureWidth(BuildContext context)?}) → Future<T?> ? -
Available on SintInterface, provided by the NavigationExtension extension
Navigation.pushReplacement() shortcut .
-
offAll<
T> (Widget page(), {bool predicate(SintPage)?, bool? opaque, bool? popGesture, String? id, String? routeName, dynamic arguments, List< BindingsInterface> bindings = const [], bool fullscreenDialog = false, Transition? transition, Curve? curve, Duration? duration, double gestureWidth(BuildContext context)?}) → Future<T?> ? -
Available on SintInterface, provided by the NavigationExtension extension
Push apageand pop several pages in the stack untilpredicatereturns true.predicateis optional -
offAllNamed<
T> (String newRouteName, {dynamic arguments, String? id, Map< String, String> ? parameters}) → Future<T?> ? -
Available on SintInterface, provided by the NavigationExtension extension
Navigation.pushNamedAndRemoveUntil() shortcut.
-
offAndToNamed<
T> (String page, {dynamic arguments, String? id, dynamic result, Map< String, String> ? parameters}) → Future<T?> ? -
Available on SintInterface, provided by the NavigationExtension extension
Navigation.popAndPushNamed() shortcut.
-
offNamed<
T> (String page, {dynamic arguments, String? id, Map< String, String> ? parameters}) → Future<T?> ? -
Available on SintInterface, provided by the NavigationExtension extension
Navigation.pushReplacementNamed() shortcut.
-
offNamedUntil<
T> (String page, bool predicate(SintPage)?, {String? id, dynamic arguments, Map< String, String> ? parameters}) → Future<T?> ? -
Available on SintInterface, provided by the NavigationExtension extension
Navigation.pushNamedAndRemoveUntil() shortcut.
-
offUntil<
T> (Widget page(), bool predicate(SintPage), [Object? arguments, String? id]) → Future< T?> -
Available on SintInterface, provided by the NavigationExtension extension
-
removeRoute(
String name, {String? id}) → void -
Available on SintInterface, provided by the NavigationExtension extension
Navigation.removeRoute() shortcut.
-
searchDelegate(
String? k) → SintDelegate -
Available on SintInterface, provided by the NavigationExtension extension
-
to<
T extends Object?> (Widget page(), {bool? opaque, Transition? transition, Curve? curve, Duration? duration, String? id, String? routeName, bool fullscreenDialog = false, dynamic arguments, List< BindingsInterface> bindings = const [], bool preventDuplicates = true, bool? popGesture, bool showCupertinoParallax = true, double gestureWidth(BuildContext context)?, bool rebuildStack = true, PreventDuplicateHandlingMode preventDuplicateHandlingMode = PreventDuplicateHandlingMode.reorderRoutes}) → Future<T?> ? -
Available on SintInterface, provided by the NavigationExtension extension
Navigation.push() shortcut.
-
toNamed<
T> (String page, {dynamic arguments, dynamic id, bool preventDuplicates = true, Map< String, String> ? parameters}) → Future<T?> ? -
Available on SintInterface, provided by the NavigationExtension extension
Navigation.pushNamed() shortcut.
-
until(
bool predicate(SintPage), {String? id}) → void -
Available on SintInterface, provided by the NavigationExtension extension
Navigation.popUntil() shortcut.
-
updateLocale(
Locale l) → Future< void> -
Available on SintInterface, provided by the NavigationExtension extension