FlowerNavigationExt extension
Properties
- arguments → dynamic
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
give current argumentsno setter - bottomBarHeight → double
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
The distance from the bottom edge to the first unpadded pixel, in physical pixels.no setter - context → BuildContext?
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
give access to currentContextno setter - currentRoute → String
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
give name from current routeno setter - defaultDialogTransitionCurve → Curve
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
no setter - defaultDialogTransitionDuration → Duration
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
no setter - defaultOpaqueRoute → bool
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
no setter - defaultPopGesture → bool
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
no setter - defaultTransition → Transition?
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
no setter - defaultTransitionCurve → Curve
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
no setter - defaultTransitionDuration → Duration
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
no setter - deviceLocale → Locale?
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
no setter - engine → WidgetsBinding
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
The current null safe WidgetsBindingno setter - focusScope → FocusNode?
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
give access to FocusScope.of(context)no setter - height → double
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
The vertical extent of this sizeno setter - iconColor → Color?
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
give access to Theme.of(context).iconTheme.colorno setter - isBottomSheetOpen → bool?
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
check if bottomsheet is openno setter - isDarkMode → bool
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
Check if dark mode theme is enableno setter - isDialogOpen → bool?
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
check if dialog is openno setter - isOpaqueRouteDefault → bool
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
check if default opaque route is enableno setter - isOverlaysClosed → bool
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
Returns true if there is no Snackbar, Dialog or BottomSheet openno setter - isOverlaysOpen → bool
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
Returns true if a Snackbar, Dialog or BottomSheet is currently OPENno setter - isPlatformDarkMode → bool
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
Check if dark mode theme is enable on platform on android Q+no setter - isPopGestureEnable → bool
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
check if popGesture is enableno setter - isSnackbarOpen → bool
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
check if snackbar is openno setter -
key
→ GlobalKey<
NavigatorState> -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
no setter -
keys
→ Map<
dynamic, FlowerDelegate> -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
no setter - mediaQuery → MediaQueryData
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
give access to Mediaquery.of(context)no setter - overlayContext → BuildContext?
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
give access to current Overlay Contextno setter -
parameters
↔ Map<
String, String?> -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
getter/setter pair - pixelRatio → double
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
The number of device pixels for each logical pixel.no setter - previousRoute → String
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
give name from previous routeno setter - rawRoute → Route?
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
check a raw current routeno setter - rootController → FlowerController
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
no setter - routing → Routing
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
no setter - size → Size
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
no setter - statusBarHeight → double
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
The distance from the top edge to the first unpadded pixel, in physical pixels.no setter - testMode ↔ bool
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
getter/setter pair - textScaleFactor → double
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
The system-reported text scale.no setter - textTheme → TextTheme
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
give access to TextTheme.of(context)no setter - theme → ThemeData
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
give access to Theme.of(context)no setter - width → double
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
The horizontal extent of this size.no setter - window → SingletonFlutterWindow
-
Available on FlowerInterface, provided by the FlowerNavigationExt extension
The window to which this binding is bound.no setter
Methods
-
addKey(
GlobalKey< NavigatorState> newKey) → GlobalKey<NavigatorState> ? -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
-
appUpdate(
) → void -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
-
back<
T> ({T? result, bool closeOverlays = false, bool canPop = true, int? id}) → void -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
Navigation.popUntil() shortcut.
-
close(
int times, [int? id]) → void -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
Navigation.popUntil() (with predicate) shortcut .
-
closeAllSnackbars(
) → void -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
-
closeCurrentSnackbar(
) → Future< void> -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
-
config(
{bool? enableLog, Logger? logWriterCallback, bool? defaultPopGesture, bool? defaultOpaqueRoute, Duration? defaultDurationTransition, bool? defaultGlobalState, Transition? defaultTransition}) → void -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
change default config of Get -
delegate<
TDelegate extends RouterDelegate< (TPage> , TPage>) → TDelegate? -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
Casts the stored router delegate to a desired type -
forceAppUpdate(
) → Future< void> -
Available on FlowerInterface, provided by the FlowerNavigationExt 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. -
nestedKey(
String? key) → FlowerDelegate? -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
-
off<
T> (Widget page(), {bool? opaque, Transition? transition, Curve? curve, bool? popGesture, int? 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 FlowerInterface, provided by the FlowerNavigationExt extension
Navigation.pushReplacement() shortcut .
-
offAll<
T> (Widget page(), {bool predicate(FlowerPage)?, bool? opaque, bool? popGesture, int? 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 FlowerInterface, provided by the FlowerNavigationExt extension
Push apage
and pop several pages in the stack untilpredicate
returns true.predicate
is optional -
offAllNamed<
T> (String newRouteName, {dynamic arguments, int? id, Map< String, String> ? parameters}) → Future<T?> ? -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
Navigation.pushNamedAndRemoveUntil() shortcut.
-
offAndToNamed<
T> (String page, {dynamic arguments, int? id, dynamic result, Map< String, String> ? parameters}) → Future<T?> ? -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
Navigation.popAndPushNamed() shortcut.
-
offNamed<
T> (String page, {dynamic arguments, int? id, Map< String, String> ? parameters}) → Future<T?> ? -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
Navigation.pushReplacementNamed() shortcut.
-
offNamedUntil<
T> (String page, bool predicate(FlowerPage)?, {int? id, dynamic arguments, Map< String, String> ? parameters}) → Future<T?> ? -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
Navigation.pushNamedAndRemoveUntil() shortcut.
-
offUntil<
T> (Widget page(), bool predicate(FlowerPage), [Object? arguments, int? id]) → Future< T?> -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
-
removeRoute(
String name, {int? id}) → void -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
Navigation.removeRoute() shortcut.
-
searchDelegate(
dynamic k) → FlowerDelegate -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
-
to<
T> (Widget page(), {bool? opaque, Transition? transition, Curve? curve, Duration? duration, int? 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 FlowerInterface, provided by the FlowerNavigationExt extension
Navigation.push() shortcut.
-
toNamed<
T> (String page, {dynamic arguments, dynamic id, bool preventDuplicates = true, Map< String, String> ? parameters}) → Future<T?> ? -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
Navigation.pushNamed() shortcut.
-
until(
bool predicate(FlowerPage), {int? id}) → void -
Available on FlowerInterface, provided by the FlowerNavigationExt extension
Navigation.popUntil() shortcut.
-
updateLocale(
Locale l) → Future< void> -
Available on FlowerInterface, provided by the FlowerNavigationExt extension