useRouteURI function
Returns the current URI from the nearest route scope.
Implementation
Uri useRouteURI(BuildContext context) {
return RouteScopeProvider.of(context).location.uri;
}
Returns the current URI from the nearest route scope.
Uri useRouteURI(BuildContext context) {
return RouteScopeProvider.of(context).location.uri;
}