Optional function to extract route name from a Route. If not provided, uses route.settings.name.
final String? Function(Route<dynamic>? route)? routeNameExtractor;