ScreenRecorderController class
Constructors
- ScreenRecorderController.new({required String videoExportPath, int fps = 10, void updateFrameCount(int)?, bool showLogs = false})
Properties
- fps → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRecording → bool
-
no setter
-
repaintBoundaryKey
→ GlobalKey<
State< StatefulWidget> > -
final
- returnCode ↔ ReturnCode?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
final
-
final
- showLogs → bool
-
final
- updateFrameCount → void Function(int)?
-
final
- videoExportPath → String
-
final
Methods
-
cancelRecording(
{SetStateCallback? setState}) → Future< void> - Cancel without saving
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startRecording(
{SetStateCallback? setState}) → Future< void> - Start recording: sets up ffmpeg pipe and begins pushing frames.
-
stopRecording(
{SetStateCallback? setState, ProcessingStatusCallback? isProcessing}) → Future< void> - Stop recording: closes ffmpeg pipe and finalizes the video.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited