useRouteURI function

Uri useRouteURI(
  1. BuildContext context
)

Returns the current URI from the nearest route scope.

Implementation

Uri useRouteURI(BuildContext context) {
  return RouteScopeProvider.of(context).location.uri;
}