flutter_flight_recorder_core library
Backward compatibility export.
Classes
- CrashFlightEvent
- Unhandled crash or intercepted exception.
- CryptoEngine
-
Encryption / decryption engine for
.flightlogand.eflightlogfiles. - CustomBreadcrumbFlightEvent
- Custom breadcrumb or state transition event.
-
EventRingBuffer<
T> - A high-performance, fixed-capacity circular ring buffer.
- FlightEvent
- Base class for all events captured by Flight Recorder.
- FlightReplayServer
- A deterministic HTTP replay server used during widget tests. Matches requests against recorded session fixtures and returns responses.
- FlightSerializer
- Serializes and deserializes FlightSession data to and from files or bytes.
- FlightSession
- Complete captured flight session holding metadata and recorded events.
- FlightSynthesizer
-
Generates valid, executable Dart
testWidgetscode from a FlightSession. - HttpFlightEvent
- Network requests and responses captured by HttpOverrides or Dio.
- LifecycleFlightEvent
- App lifecycle and viewport changes.
- Route transitions (screen push, pop, replace).
- PlatformChannelFlightEvent
- A MethodChannel or EventChannel call captured at the BinaryMessenger level. Binary payloads are base64-encoded and truncated to 16 KB so that large binary blobs (images, fonts) do not bloat the flight recording.
- PointerFlightEvent
- Pointer interaction (taps, drags, flings, scrolls).
- RedactionEngine
- The engine that redacts sensitive information from headers, URLs, and JSON payloads.
- RedactRule
- A rule for sanitizing sensitive data before storage.
- ReplayFixture
- RouteStackSnapshotEvent
- A snapshot of the full navigation route stack captured at session start (or whenever a recording resumes mid-session). The synthesizer uses this to emit the correct sequence of Navigator.pushNamed calls so that the replayed test starts on the right screen even for deeply-nested routes.
- SecureFlightSerializer
-
Serialises / deserialises FlightSession objects to / from encrypted
.eflightlogfiles. - SemanticPointerFlightEvent
- Pointer event enriched with semantic widget-identity information resolved at record time via a hit-test so that the test synthesizer can generate robust widget-finder expressions (by key, type, text, tooltip, or semantic label) instead of relying solely on raw coordinates.
- SessionManifest
- Metadata about the recorded session environment.
- TestHarnessBuilder
-
Generates Flutter integration-test harness source files that replay
recorded HTTP traffic and platform-channel calls captured by
flight_recorder. - TextInputFlightEvent
-
Keyboard / IME event captured by intercepting the
flutter/textinputplatform channel. PII is redacted before the event is stored; raw text is never persisted. - WebSocketFlightEvent
- A WebSocket lifecycle or message event captured by wrapping the WebSocket client used by the application.
Enums
- DiFramework
- The DI framework in use in the host application.
Typedefs
- FlightFixture = ReplayFixture
- Compatibility alias for ReplayFixture.
- RedactFunction = String Function(String input)
Exceptions / Errors
- CryptoAuthException
- Thrown when HMAC-SHA256 authentication fails during decryption.
- EFlightFormatException
- Thrown when a file does not begin with the expected EFLIGHT magic bytes.