routeNameExtractor property

String? Function(Route? route)? routeNameExtractor
final

Optional function to extract route name from a Route. If not provided, uses route.settings.name.

Implementation

final String? Function(Route<dynamic>? route)? routeNameExtractor;