ScreenRecorderController class

Constructors

ScreenRecorderController({Exporter? exporter, double pixelRatio = 0.5, int skipFramesBetweenCaptures = 2, SchedulerBinding? binding})

Properties

exporter Exporter
no setter
hashCode int
The hash code for this object.
no setterinherited
pixelRatio double
The pixelRatio describes the scale between the logical pixels and the size of the output image. Specifying 1.0 will give you a 1:1 mapping between logical pixels and the output pixels in the image. The default is a pixel ration of 3 and a value below 1 is not recommended.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipFramesBetweenCaptures int
Describes how many frames are skipped between caputerd frames. For example if it's skipFramesBetweenCaptures = 2 screen_recorder captures a frame, skips the next two frames and then captures the next frame again.
final
skipped int
getter/setter pair

Methods

capture() Image?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postFrameCallback(Duration timestamp) → void
start() → void
stop() → void
toString() String
A string representation of this object.
inherited

Operators

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