MediaAssetUtils class

Constructors

MediaAssetUtils()

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(File file, {File? outputFile, bool saveToLibrary = false}) Future<File?>
compressVideo(File file, {String? videoName, bool saveToLibrary = false, VideoQuality quality = VideoQuality.very_low, void onVideoCompressProgress(double)?, ThumbnailConfig? thumbnailConfig}) Future<File?>
getImageInfo(File file) Future<ImageInfo>
getVideoInfo(File file) Future<VideoInfo>
getVideoThumbnail(File file, {File? thumbnailFile, int quality = 100, bool saveToLibrary = false}) Future<File?>
saveToGallery<T>(T data) Future<bool?>