get_navigation/get_navigation library

A Refreshed providing utilities and widgets for navigation management.

This includes features such as bottom sheets, route management, internationalization support, custom transitions, and snackbar display.

Classes

BackButtonCallback
CustomTransition
An abstract class representing a custom transition for animated route transitions.
Dependencies
A class to manage dependencies within the application.
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
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.
GetNavigator
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>
InheritedNavigator
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
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

It replaces the Flutter Navigator, but needs no context. You can to use navigator.push(YourRoute()) rather Navigator.push(context, YourRoute());
no setter

Functions

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