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
Engine
A utility class for accessing the engine instance.
FadeInTransition
A class representing a fade-in transition animation.
GetBackGestureController<T>
GetBackGestureDetector<T>
GetBackGestureDetectorState<T>
GetCupertinoApp
A CupertinoApp extension that integrates the Refreshed state management library.
GetDelegate
GetInformationParser
GetInterface
A contract defining the interface for interacting with the "Get" class, enabling auxiliary packages to extend its functionality through extensions.
GetMaterialApp
A MaterialApp extension that integrates the Refreshed state management library.
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.
GetNavigator
GetObserver
GetPage<T>
GetPageRoute<T>
GetRouterOutlet
GetSnackBar
A custom StatefulWidget for displaying snack bars.
GetSnackBarState
IndexedRouteBuilder<T>
InheritedNavigator
LeftToRightFadeTransition
A class representing a left-to-right fade transition animation.
MiddlewareRunner
Module
ModuleState
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
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
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
RowStyle
An enumeration representing different styles for rows.
SmartManagement
GetX by default disposes unused controllers from memory, Through different behaviors. SmartManagement.full SmartManagement.full is the default one. Dispose classes that are not being used and were not set to be permanent. In the majority of the cases you will want to keep this config untouched. If you new to GetX then don't change this. SmartManagement.onlyBuilder only controllers started in init: or loaded into a Binding with Get.lazyPut() will be disposed. If you use Get.put() or Get.putAsync() or any other approach, SmartManagement will not have permissions to exclude this dependency. With the default behavior, even widgets instantiated with "Get.put" will be removed, unlike SmartManagement.onlyBuilders. SmartManagement.keepFactoryJust like SmartManagement.full, it will remove it's dependencies when it's not being used anymore. However, it will keep their factory, which means it will recreate the dependency if you need that instance again.
SnackbarStatus
Indicates Status of snackbar SnackbarStatus.open Snack is fully open, SnackbarStatus.closed Snackbar has closed, SnackbarStatus.opening Starts with the opening animation and ends with the full snackbar display, SnackbarStatus.closing Starts with the closing animation and ends with the full snackbar dispose
SnackHoverState
Indicates if the mouse entered or exited
SnackPosition
Indicates if snack is going to start at the top or at the bottom
SnackStyle
Indicates if snack will be attached to the edge of the screen or not
Transition
Enum defining various types of transitions that can be applied when navigating between routes.

Mixins

GetPageRouteTransitionMixin<T>
IGetNavigation
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>

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 or T? to be treated as a value of type T?.
cleanRouteName(String name) String
Takes a route name String generated by to, off, offAll (and similar context navigation methods), cleans the extra chars and accommodates the format.
defaultLogWriterCallback(String value, {bool isError = false}) → void
The default logger function used by GetX for writing logs.
removeLastHistory(String? url) → void
setUrlStrategy() → void

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 GetX.
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.