FilePickSettings.singleFile constructor

const FilePickSettings.singleFile({
  1. List<String>? allowedExtensions,
  2. int? maxFileSize,
  3. double? maxHeight,
  4. double? maxWidth,
  5. int? imageQuality,
})

Implementation

const FilePickSettings.singleFile({
  this.allowedExtensions,
  this.maxFileSize,
  this.maxHeight,
  this.maxWidth,
  this.imageQuality,
}) : maxFileCount = 1;