flutter_debug_tracker library
In-app debug overlay for Flutter apps on Android and iOS.
Start with DebugTracker.runZoned and install DebugTracker.builder and
DebugTracker.observer in your MaterialApp.
Classes
- AnalyticsEvent
- One analytics call captured from the app.
- AnalyticsTracker
-
Stores analytics calls: Firebase Analytics calls captured automatically
(see
DebugTracker.runZoned) and any provider logged manually withDebugTracker.logAnalyticsEvent. - BodyCapture
- Collects up to limit bytes while counting the full size.
-
DebugStore<
T> - A bounded, observable list of captured entries (newest last).
- DebugTracker
- Entry point of the in-app debug tracker.
- DebugTrackerBinding
- A WidgetsFlutterBinding whose platform messenger records Firebase Analytics calls into DebugTracker.analytics and Firebase Cloud Messaging events into DebugTracker.push.
- DebugTrackerConfig
- Configuration for DebugTracker.
- DebugTrackerOverlay
- Draws the debug bubble, HUD, tools and panel above child.
- FirebaseAnalyticsDecoder
-
Decodes the platform messages that
firebase_analyticssends to the native Firebase SDK. - FirebaseMessagingCodec
-
Reads and writes the platform messages of
firebase_messaging(channelplugins.flutter.io/firebase_messaging). - FrameSample
- Build and raster durations of a single rendered frame.
- LogEntry
- One captured log line or error.
- LogTracker
- Captures console output and errors.
- NetworkEntry
- One captured HTTP request/response pair.
- NetworkTracker
- Captures HTTP traffic by installing HttpOverrides.
- NotificationSimulator
-
Sends real local notifications that stand in for push notifications,
tracks their status and, when asked, hands them to
firebase_messagingso the app'sonMessage/onMessageOpenedApphandlers run. - NotificationTemplate
- A preset for the push simulator, modeled on DebugSwift's templates.
- PerformanceMonitor
- Tracks frame rendering and memory with low overhead.
- PerformanceSnapshot
- Performance metrics over the most recent second of rendering.
- PerformanceTrace
- A named, timed operation recorded with PerformanceMonitor.trace or PerformanceMonitor.startTrace.
- PushEvent
- One push-notification event captured from Firebase Cloud Messaging.
- PushTracker
- Stores Firebase Cloud Messaging events and the latest token.
- RouteEvent
- One navigation event.
- RouteTracker
-
Records navigation events. Add observer to
MaterialApp.navigatorObservers. - TappingBinaryMessenger
- A BinaryMessenger that forwards everything to inner and records Firebase Analytics and Firebase Cloud Messaging traffic.
- TestNotification
- A local notification sent from the push simulator.
- TraceHandle
- Handle returned by PerformanceMonitor.startTrace.
- TrackingHttpClient
- An HttpClient that records every request it sends into a NetworkTracker and otherwise behaves exactly like the wrapped client.
Enums
- AnalyticsKind
- What an AnalyticsEvent records.
- LogLevel
- Severity of a LogEntry.
- LogSource
- Where a LogEntry came from.
- NetworkState
- Lifecycle state of a captured HTTP transaction.
- PushKind
- What a PushEvent records.
- RouteAction
- Kind of navigation event.
- TestNotificationStatus
- Status of a TestNotification.