utils/firebase_analytics_utils library

Classes

AnalyticsCallOptions
Additional options that can be passed to Analytics method calls. Note; these options are only used on the web.
AnalyticsEventItem
Interface that defines the required attributes of an analytics Item. https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Param https://developers.google.com/analytics/devguides/collection/ga4/reference/events
FirebaseAnalytics
Firebase Analytics API.
FirebaseAnalyticsAndroid
Android-specific analytics API.
FirebaseAnalyticsObserver
A NavigatorObserver that sends events to Firebase Analytics when the currently active ModalRoute changes.
FirebaseAnalyticsUtils

Functions

defaultNameExtractor(RouteSettings settings) String?
defaultRouteFilter(Route? route) bool
filterOutNulls(Map<String, Object?> parameters) Map<String, Object>
Creates a new map containing all of the key/value pairs from parameters except those whose value is null.

Typedefs

RouteFilter = bool Function(Route? route)
RouteFilter allows to filter out routes that should not be tracked.
ScreenNameExtractor = String? Function(RouteSettings settings)
Signature for a function that extracts a screen name from RouteSettings.