ScreenNameExtractor typedef

ScreenNameExtractor = String? Function(RouteSettings settings)

Signature for a function that extracts view name from RouteSettings to be used in ScreenView or PageViewEvent events tracked in the observer.

Implementation

typedef ScreenNameExtractor = String? Function(RouteSettings settings);