takePhotos static method

Future<List<FileData>> takePhotos({
  1. int maxCount = 0,
  2. bool selfie = false,
  3. UCropOptions? crop,
  4. UCameraOptions? options,
  5. dynamic action(
    1. List<FileData>
    )?,
})

Captures multiple photos in one camera session. maxCount 0 means unlimited.

Implementation

static Future<List<FileData>> takePhotos({
  int maxCount = 0,
  bool selfie = false,
  UCropOptions? crop,
  UCameraOptions? options,
  Function(List<FileData>)? action,
}) => pickImage(source: UImageSource.camera, selfie: selfie, allowMultiple: true, maxCount: maxCount, crop: crop, cameraOptions: options, action: action);