fluro library
Classes
- AppRoute
- A route that is added to the router tree.
- AppRouteMatch
- A matched AppRoute
- FluroRouter
- Attach FluroRouter to MaterialApp by connnecting FluroRouter.generator to MaterialApp.onGenerateRoute.
- Handler
- The handler to register with FluroRouter.define
- RouteMatch
- The route that was matched.
- RouteTree
- A RouteTree
- RouteTreeNode
- A node on RouteTree
- RouteTreeNodeMatch
- A matched RouteTreeNode
Enums
- HandlerType
- The type of the handler, whether it's a buildable route or a function that is called when routed.
- RouteMatchType
- The match type of the route.
- RouteTreeNodeType
-
A
RouteTreeNote
type - TransitionType
- The type of transition to use when pushing/popping a route.
Extensions
Typedefs
-
HandlerFunc
= Widget? Function(BuildContext? context, Map<
String, List< parameters)String> > -
Builds out a screen based on string path
parameters
and context. -
RouteCreator<
T> = Route< T> Function(RouteSettings route, Map<String, List< parameters)String> > - A function that creates new routes.
Exceptions / Errors
- RouteNotFoundException
- When the route is not found.