CompressService class
Compress service
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Methods
-
compressImage(
XFile file, {int minWidth = 1080, int quality = 70}) → Future< XFile?> - Compress image
-
compressVideo(
XFile file) → Future< XFile?> - Compress video
-
getAudioDuration(
String path) → Future< Duration> - Add audio to video
-
getCacheDirectory(
) → Future< String> - Get cache directory path
-
trimVideoAndCompress(
VideoEditorController controller) → Future< XFile?> - Trim video and compress video