currentRoute abstract method

String? currentRoute(
  1. BuildContext context
)

Returns the current route path as a string, or null if unavailable.

Implementation

String? currentRoute(BuildContext context);