route_manager library
Get Navigator allows you to navigate routes, open snackbars, dialogs and bottomsheets easily, and without the need for context.
Classes
- BackButtonCallback
- CustomTransition
- An abstract class representing a custom transition for animated route transitions.
- Dependencies
- A class to manage dependencies within the application.
- Engine
- A utility class for accessing the engine instance.
- FadeInTransition
- A class representing a fade-in transition animation.
-
GetBackGestureController<
T> -
GetBackGestureDetector<
T> - A widget that detects back gestures for navigating back in a GetX-based application.
-
GetBackGestureDetectorState<
T> - GetCupertinoApp
- GetDelegate
- GetInformationParser
- GetInterface
- A contract defining the interface for interacting with the "Get" class, enabling auxiliary packages to extend its functionality through extensions.
- GetMaterialApp
- GetMiddleware
- The Page Middlewares. The Functions will be called in this order (( redirect -> onPageCalled -> onBindingsStart -> onPageBuildStart -> onPageBuilt -> onPageDispose ))
-
GetModalBottomSheetRoute<
T> - A custom PopupRoute used by Refreshed for displaying modal bottom sheet routes.
- GetObserver
- A custom NavigatorObserver for tracking route changes and managing routing data.
-
GetPage<
T> -
GetPageRoute<
T> - GetRouterOutlet
- GetSnackBar
-
A custom
StatefulWidget
for displaying snack bars. - GetSnackBarState
- The state for managing a GetSnackBar widget.
-
IndexedRouteBuilder<
T> - LeftToRightFadeTransition
- A class representing a left-to-right fade transition animation.
- MiddlewareRunner
- Module
- Abstract class representing a module in the application.
- ModuleState
- This class represents the state of a module.
- NoTransition
- A class representing a no transition animation.
- PageRedirect
- PageSettings
- A custom implementation of RouteSettings representing settings specific to a page.
- ParseRouteTree
- PathDecoded
- RightToLeftFadeTransition
- A class representing a right-to-left fade transition animation.
- RouteDecoder
- RouteListenerState
- RouteReport
- A StatefulWidget that reports its route lifecycle events to a RouterReportManager.
- RouteReportState
- The state for RouteReport.
- RouterListener
- RouterListenerInherited
- RouterListenerState
-
RouterOutlet<
TDelegate extends RouterDelegate< T> , T extends Object> -
RouterOutletState<
TDelegate extends RouterDelegate< T> , T extends Object> - Routing
- Represents the current state of routing, including the current route, previous route, arguments, and other relevant information.
- SizeTransitions
- A class representing a size transition animation.
- SlideDownTransition
- A class representing a slide-down transition animation.
- SlideLeftTransition
- A class representing a slide-left transition animation.
- SlideRightTransition
- A class representing a slide-right transition animation.
- SlideTopTransition
- A class representing a slide-top transition animation.
- SnackbarController
-
SnackBarQueue<
T> - Translations
- Abstract class representing translations for an application.
- ZoomInTransition
- A class representing a zoom-in transition animation.
Enums
- PopMode
- Enables the user to customize the intended pop behavior
- PreventDuplicateHandlingMode
- Enables the user to customize the behavior when pushing multiple routes that shouldn't be duplicates
- SmartManagement
- Refreshed by default disposes unused controllers from memory, Through different behaviors.
- Transition
- Enum defining various types of transitions that can be applied when navigating between routes.
Mixins
-
GetPageRouteTransitionMixin<
T> -
PageRouteReportMixin<
T> - A mixin that provides page route lifecycle event reporting to a RouterReportManager.
-
RouteReportMixin<
T extends StatefulWidget> - A mixin that provides route lifecycle event reporting to a RouterReportManager.
-
RouterListenerMixin<
T extends StatefulWidget>
Extensions
- ExtensionBottomSheet on GetInterface
- ExtensionDialog on GetInterface
- ExtensionSnackbar on GetInterface
-
FirstWhereOrNullExt
on List<
T> - OverlayExt on GetInterface
- PageArgExtension on BuildContext
- Extension methods for BuildContext to provide convenient access to page-related information.
-
PagesListExt
on List<
GetPage< T> >
Constants
-
rtlLanguages
→ const List<
String> - List of right-to-left (RTL) languages.
Properties
- Get → _GetImpl
-
Global instance of GetX controller.
final
-
It replaces the Flutter Navigator, but needs no context.
You can to use navigator.push(YourRoute()) rather
Navigator.push(context, YourRoute());
no setter
Functions
-
ambiguate<
T> (T? value) → T? -
Allows a value of type
T
orT?
to be treated as a value of typeT?
. -
defaultLogWriterCallback(
String value, {bool isError = false}) → void - The default logger function used by Refreshed for writing logs.
-
removeLastHistory(
String? url) → void - Removes the last history entry from the browser history stack.
-
setUrlStrategy(
) → void - Sets the URL strategy to remove the hash from the URL.
Typedefs
- GetPageBuilder = Widget Function()
- Typedef representing a function that returns a widget.
-
GetRouteAwarePageBuilder<
T> = Widget Function([GetPageRoute< T> ? route]) - Typedef representing a function that takes an optional GetPageRoute route parameter and returns a widget.
- LogWriterCallback = void Function(String text, {bool isError})
- A typedef representing a callback function for writing logs, typically used in the context of Refreshed.
- OnHover = void Function(GetSnackBar snack, SnackHoverState snackHoverState)
-
Callback signature for hover events on a
GetSnackBar
. - OnTap = void Function(GetSnackBar snack)
-
Callback signature for tap events on a
GetSnackBar
. - SnackbarStatusCallback = void Function(SnackbarStatus? status)
-
Callback signature for status changes on a
GetSnackBar
. -
ValueUpdater<
T> = T Function() - A function type representing a value updater.