SeekPreviewPerformanceOptions class

Performance options for the seek preview to optimize for different devices.

Constructors

SeekPreviewPerformanceOptions({int maxCacheSize = 5, bool preloadFrames = true, int preloadFrameCount = 10, Duration debounceDuration = const Duration(milliseconds: 100), bool adaptiveQuality = true})
const

Properties

adaptiveQuality bool
Whether to use lower quality frames on low-end devices.
final
debounceDuration Duration
Debounce duration to limit frame extractions during rapid scrubbing.
final
hashCode int
The hash code for this object.
no setterinherited
maxCacheSize int
The maximum number of frames to cache in memory.
final
preloadFrameCount int
Number of frames to preload across the video duration.
final
preloadFrames bool
Whether to preload frames for smoother scrubbing.
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