showImagePicker static method

Future<List<FileData>> showImagePicker({
  1. required UImageSource source,
  2. bool allowMultiple = false,
  3. bool isSelfie = false,
  4. int? imageQuality,
  5. UCropOptions? crop,
  6. dynamic action(
    1. List<FileData>
    )?,
})

Backwards-compatible image picker. Delegates to pickImage (camera capture uses the in-app UCameraPage; gallery uses the file picker).

Implementation

static Future<List<FileData>> showImagePicker({
  required UImageSource source,
  bool allowMultiple = false,
  bool isSelfie = false,
  int? imageQuality,
  UCropOptions? crop,
  Function(List<FileData>)? action,
}) => pickImage(source: source, selfie: isSelfie, allowMultiple: allowMultiple, imageQuality: imageQuality, crop: crop, action: action);