ImagePickerKit class
The main public-facing class for the media_picker_kit package. This class acts as a facade, simplifying the entire Pick -> Crop -> Compress workflow.
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
-
pickAndCropImageFromGallery(
{int? maxWidth, int? maxHeight, CropAspectRatio? aspectRatio, ImageCompressFormat? compressFormat, int? compressQuality, AndroidUiSettings? androidUiSettings, IOSUiSettings? iOSUiSettings}) → Future< File?> - Picks an image, shows the cropper UI, and optionally compresses the result.
-
pickImageFromGallery(
{int? compressQuality}) → Future< File?> - Picks an image from the gallery and optionally compresses it.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited