flutter_app_inspector library

Classes

AppInspector
Central entry point facade for Flutter App Inspector observability subsystem.
AppInspectorConfig
Configuration options for initializing AppInspector.
AppInspectorEvent
Represents a single performance or observability event recorded by the inspector.
AppInspectorOverlay
Floating developer overlay wrapper widget for Flutter applications.
AppInspectorStore
Efficient in-memory event store with bounded memory allocation.
CustomTracker
Active tracker for measuring custom user operations.
ErrorGroupRecord
Data class representing an aggregated error group.
ErrorMetricsSnapshot
Immutable snapshot of recorded errors and exception analytics.
ErrorMonitor
Engine that tracks, groups, and analyzes development-time Flutter framework errors and unhandled exceptions.
ErrorRecord
Data class representing a single recorded error or exception event.
FrameMetricsSnapshot
Frame metrics data snapshot.
FrameMonitor
Engine that monitors Flutter engine frame scheduling, rendering timings, and jank.
ImageMetricRecord
Data class representing a recorded image performance metric.
ImageMetricsSnapshot
Immutable snapshot of image performance metrics and cache statistics.
ImageMonitor
Engine that tracks, aggregates, and analyzes Flutter image loading performance and memory.
InspectorImageTracker
Widget wrapper that cleanly tracks child image loading metrics and display dimensions.
InspectorLogger
Lightweight, throttled console output formatter for inspector metrics.
InspectorNavigatorObserver
Official NavigatorObserver subclass that cleanly hooks into Flutter route transitions.
InspectorSession
Represents a single runtime monitoring session.
InspectorUtils
Helper utilities for inspector timing calculations, platform inspection, and formatting.
InspectorWidgetTracker
Floating wrapper widget that cleanly instruments child rebuild metrics.
MemoryMetricsSnapshot
Memory metrics snapshot.
MemoryMonitor
Engine that monitors host process memory usage (Resident Set Size).
Data class representing a recorded route navigation transition.
Immutable snapshot of navigation performance metrics.
Engine that tracks, aggregates, and analyzes Flutter route navigation performance.
NetworkTracker
Extension point stub for Phase 2 network HTTP request latency tracking.
OversizedImageRecord
Data class representing a detected potentially oversized image.
PerformanceAnalysisReport
Comprehensive developer-focused "Why Is My App Slow?" diagnostic report.
PerformanceAnalyzer
Lightweight analysis engine that evaluates runtime events to extract actionable insights.
PerformanceCorrelation
Represents a detected temporal or causal correlation between two distinct performance events.
PerformanceIssue
Represents a detected performance anomaly or optimization opportunity.
PerformanceScore
Transparent performance score breakdown for Flutter application runtime.
Recommendation
Actionable developer recommendation produced by the inspector analysis engine.
SlowNavigationRecord
Data class representing a detected slow route transition.
SlowWidgetBuild
Class representing a detected potential slow widget build pass.
WidgetMetricsSnapshot
Immutable snapshot of widget monitoring metrics.
WidgetMonitor
Engine that collects, aggregates, and detects hotspots/spikes in Flutter widget rebuilds.
WidgetRebuildMetric
Data class representing detailed metrics for a specific widget.
WidgetRebuildSpike
Class representing a detected surge/spike in widget rebuild count.

Enums

ImageLoadState
Available states of an image load operation.
InspectorEventType
Defines the categories of performance events collected by the inspector.
InspectorLogLevel
Supported logging granularity levels for console output.
InspectorOverlayMode
Supported display modes for the floating in-app developer overlay.
InspectorOverlayPosition
Preset position coordinates for displaying the floating overlay on screen.
InspectorSeverity
Indicates the severity level of an inspection event or performance issue.
Available types of route navigation actions.
WidgetRebuildSort
Available sorting criteria for widget rebuild hotspots.

Mixins

WidgetRebuildMixin<T extends StatefulWidget>
Mixin for StatefulWidget State classes to easily track rebuild metrics.