Trimmer class Null safety

Helps in loading video from file, saving trimmed video to a file and gives video playback controls. Some of the helpful methods are:

Constructors

Trimmer()

Properties

currentVideoFile File?
read / write
eventStream Stream<TrimmerEvent>
Listen to this stream to catch the events
read-only
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
videoPlayerController VideoPlayerController?
read-only

Methods

dispose() → void
Clean up
loadVideo({required File videoFile}) Future<void>
Loads a video using the path provided.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
saveTrimmedVideo({required double startValue, required double endValue, required dynamic onSave(String? outputPath), bool applyVideoEncoding = false, FileFormat? outputFormat, String? ffmpegCommand, String? customVideoFormat, int? fpsGIF, int? scaleGIF, String? videoFolderName, String? videoFileName, StorageDir? storageDir}) Future<void>
Saves the trimmed video to file system.
toString() String
A string representation of this object.
inherited
videoPlaybackControl({required double startValue, required double endValue}) Future<bool>
For getting the video controller state, to know whether the video is playing or paused currently.

Operators

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