getCurrentNamedPath static method

String getCurrentNamedPath(
  1. BuildContext context
)

Implementation

static String getCurrentNamedPath(BuildContext context) {
  return GoRouterState.of(context).name ?? "";
}