router_generator library

Classes

Inject
Router
RouterParam

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 same pageName will be overridden params should be key-values

Exceptions / Errors

ArgumentNotFoundException