ResizeMedia class

Constructors

ResizeMedia()

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

image({required String path, double? maxWidth, double? maxHeight, double? imageQuality}) Future<String?>
Resize a media file to a given size. path is the path to the media file. maxWidth is the max width of the new image, null for no resize. maxHeight is the max height of the new image, null for no resize. quality is the quality of the new image from 0.0 to 1.0, null for original.
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