useQuery function
Returns query params from the nearest route scope.
Implementation
URLSearchParams useQuery(BuildContext context) {
return RouteScopeProvider.of(context).query;
}
Returns query params from the nearest route scope.
URLSearchParams useQuery(BuildContext context) {
return RouteScopeProvider.of(context).query;
}