router library
Classes
-
Green<
C> - state manager
-
MaterialIgnorePage<
T> - NPage
-
path:
/path/to/world
/user/:id/book/:id/path
/user?id=123&bookId=456
- NPageMain
- NRouter
- Example:
- NRouterDelegate
- NRouterDependence
- NRouterGlobalDependence
- NRouterJsonTransfrom
- RouteListener
- RouteQueue
- RouteQueueEntry
- RouterAction
- RouteRestorable
- RouteRestorableState
Mixins
-
RouteQueueEntryPage<
T> -
RouteQueueEntryStateMixin<
T extends StatefulWidget>
Extensions
Properties
- jsonDecodeCustom ↔ dynamic Function(String source, {Object? reviver(Object? key, Object? value)?})
-
class JsonData { // json: call `toJson` String toJson() { return ''; } }
getter/setter pair
Typedefs
- ErrorPageBuilder = RouteQueueEntry Function(String location, Map params, Map extra, Object? groupId)
-
PageBuilder<
S> = RouteQueueEntryPage< S> Function(RouteQueueEntry entry) - RedirectBuilder = RouteQueueEntry Function(RouteQueueEntry entry)
- ToJsonFn = (dynamic Function(dynamic data)?)
- UntilFn = bool Function(RouteQueueEntry entry)