ff_annotation_route_library library
Classes
- FFArgumentImport
- Annotation of argumentImport
- FFConvert
- The NavigatorObserver to listen route change
-
FFPage<
T> - Navigator 2.0
- FFRoute
- Annotation to generate route
- FFRouteInformationParser
- A delegate that is used by the Router widget to parse a route information into a configuration of type RouteSettings.
- FFRouterDelegate
- A delegate that is used by the Router widget to build and configure a navigating widget.
- FFRouteSettings
- Navigator 1.0
-
FFTransparentPageRoute<
T> - Transparent Page Route
Enums
Constants
- argumentNames → const String
- constructorName → const String
- ffRouteFileImport → const String
Functions
-
asT<
T extends Object?> (dynamic value, [T? defaultValue]) → T? -
onGenerateRoute(
{required RouteSettings settings, required GetRouteSettings getRouteSettings, Widget? notFoundWidget, Map< String, dynamic> ? arguments, RouteSettingsWrapper? routeSettingsWrapper}) → Route - onGenerateRoute for Navigator 1.0
Typedefs
-
GetRouteSettings
= FFRouteSettings Function({Map<
String, dynamic> ? arguments, required String name, Widget? notFoundWidget}) -
The getRouteSettings method which is created by
ff_annotation_route
- FFRouterDelegate.navigatorWrapper
- PagePredicate = bool Function(FFPage page)
- Signature for the FFRouterDelegate.popUntil predicate argument.
-
PageWrapper
= FFPage<
T> Function<T>(FFPage< T> pageRoute) - FFRouterDelegate.pageWrapper, re-define FFPage in this call back
- RouteChange = void Function(Route? newRoute, Route? oldRoute)
- Route change call back FFNavigatorObserver.routeChange
- RouteSettingsWrapper = FFRouteSettings Function(FFRouteSettings pageRoute)
- onGenerateRoute, re-define FFRouteSettings in this call back