ImagePickerManager class
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pickImage({required BuildContext context, required MountedCheck mounted, required ImageSource source, bool crop = false, bool compress = false, int quality = 35, double? maxHeight, double? maxWidth})
→ Future<XFile?>
-
Picks an image from the given
source, optionally crops and compresses it.
Uses mounted callback to avoid context misuse after async gaps.
-
pickMultiImages({required BuildContext context, required MountedCheck mounted, bool crop = false, bool compress = false, int quality = 35})
→ Future<List<XFile>>
-
Picks multiple images from the gallery, optionally crops and compresses each.
-
toString()
→ String
-
A string representation of this object.
inherited