FlightConfig class

Configuration options for Flight Recorder.

Constructors

FlightConfig({int bufferCapacity = 2000, double moveSampleDistance = 2.0, bool enablePointerRecording = true, bool enableNavigationRecording = true, bool enableLifecycleRecording = true, bool enableHttpRecording = true, bool enableCrashRecording = true, bool enableTextInputRecording = true, bool enablePlatformChannelRecording = true, CryptoEngine? cryptoEngine, Directory? dumpDirectory, RedactionEngine? redactionEngine})

Properties

bufferCapacity → int
Maximum number of events kept in the in-memory ring buffer.
final
cryptoEngine → CryptoEngine?
Optional cryptographic engine for encrypting session logs to .eflightlog.
final
dumpDirectory → Directory?
Directory where crash .flightlog files will be automatically written.
final
enableCrashRecording → bool
Whether to capture unhandled crashes and auto-export session.
final
enableHttpRecording → bool
Whether to capture HTTP requests via HttpOverrides.
final
enableLifecycleRecording → bool
Whether to capture app lifecycle and viewport metrics.
final
enableNavigationRecording → bool
Whether to capture route navigation transitions.
final
enablePlatformChannelRecording → bool
Whether to capture platform channel calls and responses.
final
enablePointerRecording → bool
Whether to capture touch and pointer events globally.
final
enableTextInputRecording → bool
Whether to capture keyboard and text input events.
final
hashCode → int
The hash code for this object.
no setterinherited
moveSampleDistance → double
Minimum logical distance (pixels) between move events to throttle noise.
final
redactionEngine → RedactionEngine
The redaction engine for scrubbing sensitive data.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited