goNamed method
void
goNamed(})
Navigate to a named route w/ optional parameters, e.g.
name='person', params={'fid': 'f2', 'pid': 'p1'}
Navigate to the named route.
Implementation
void goNamed(
String name, {
Map<String, String> params = const <String, String>{},
Map<String, dynamic> queryParams = const <String, dynamic>{},
Object? extra,
}) =>
go(
namedLocation(name, params: params, queryParams: queryParams),
extra: extra,
);