arg property
dynamic
arg
Get the data passed to the page.
Basically it returns the RouteQuery data passed from the previous page.
If the RouteQuery data is not found, the map stored in PageHookWidget is retrieved.
Implementation
DynamicMap get arg =>
ModalRoute.of(this)?.settings.arguments as DynamicMap? ??
UIScope.of(this)._map;