WidgetRecorderController class

Simple controller for recording widgets

Constructors

WidgetRecorderController({dynamic onComplete(String path)?, dynamic onError(String error)?})

Properties

fps int
Set frames per second (default: 30)
no getter
hashCode int
The hash code for this object.
no setterinherited
isRecording bool
Check if currently recording
no setter
onComplete → dynamic Function(String path)?
final
onError → dynamic Function(String error)?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() Future<void>
Start recording the widget
stop() Future<String?>
Stop recording and get the video file path
toString() String
A string representation of this object.
inherited

Operators

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