getCurrentUri static method

Uri getCurrentUri(
  1. BuildContext context
)

Implementation

static Uri getCurrentUri(BuildContext context) {
  return GoRouter.of(context).routeInformationProvider.value.uri;
}