getCurrentPath static method

String getCurrentPath(
  1. BuildContext context
)

Implementation

static String getCurrentPath(BuildContext context) {
  return GoRouterState.of(context).path ?? "";
}