navigator/nav_flex
library
Classes
-
CustomNavigatorObserver
-
The
CustomNavigatorObserver class extends NavigatorObserver
to handle navigation events such as didPop and manage route history.
-
A custom implementation of
PageRouteBuilder to allow
custom transitions for route animations.
-
DraggableHistoryButton
-
The
DraggableHistoryButton is a floating button widget that allows
users to view and navigate through navigation history dynamically.
-
NavigationService
-
The
NavigationService class is a utility to manage navigation operations
and maintain a history of visited routes. This service decouples navigation
logic from the BuildContext and provides additional features like custom
transitions and route guards.
-
RouteService
-
The
RouteService class is responsible for managing dynamic routes and
navigation guards in the application.
-
TransitionFactory
-
The
TransitionFactory class provides a collection of customizable
route transition animations for enhancing navigation experiences.
Typedefs
-
NavigationGuard
= Future<bool> Function()
-
A type definition for
NavigationGuard.
Guards are asynchronous functions that return a bool, indicating
whether navigation should proceed.