router_generator library
Classes
Constants
- inject → const Inject
-
The state needs to inject dependencies should annotates with inject
const Inject._()
- routerParam → const RouterParam
-
annotate param field with this when use field'name as key and not required
const RouterParam()
Properties
-
paramsTable
↔ Map<
String, Map< String, dynamic> > -
read / write
Functions
-
deliverParams(
String pageName, Map< String, dynamic> params) → void -
deliver new page's
params
, previous params for the samepageName
will be overriddenparams
should be key-values