form_fields/open_image_picker
library
Functions
-
cropFallback(BuildContext context, PFile source)
→ Future<PFile?>
-
-
cropNative(BuildContext context, PFile imageFile)
→ Future<PFile?>
-
-
cropperFallback(BuildContext context, PFile source)
→ Future<PFile?>
-
-
filePickerFn(BuildContext context, {int? maxSelections = 1, MediaContentType<Object>? mediaType, })
→ Future<List<PFile>>
-
-
multiImageSelector(BuildContext context, {int? maxSelections = 1, MediaContentType<Object>? mediaType, })
→ Future<List<PFile?>>
-
-
openImageListPicker(BuildContext context, {VoidCallback? onPermissionsInitialized, FilesUploaded? onSelected, FileChanged? onChange, int maxSelections = 1, bool crop = true, bool preemptPermission = true, MediaSelectFn imageSelector = multiImageSelector, })
→ Future<List<PFile?>?>
-
-
openImagePicker(BuildContext context, {FileChanged? onChange, FilesUploaded? onSelected, bool crop = true, VoidCallback? onPermissionsInitialized, bool preemptPermissions = true, bool allowThirdParties = false, })
→ Future<PFile?>
-
This pops the file picker/cropper and returns a single file.
@deprecated