AttachmentConfig constructor

const AttachmentConfig({
  1. required List<AttachmentFeature> features,
  2. AttachmentUIStyle uiStyle = AttachmentUIStyle.bottomSheet,
  3. bool enableCropping = true,
  4. bool allowMultipleGallery = true,
  5. AttachmentTheme theme = AttachmentTheme.dark,
  6. int maxScanPages = 20,
  7. int maxImageCount = 0,
  8. int maxFileCount = 0,
})

Creates a new AttachmentConfig.

Implementation

const AttachmentConfig({
  required this.features,
  this.uiStyle = AttachmentUIStyle.bottomSheet,
  this.enableCropping = true,
  this.allowMultipleGallery = true,
  this.theme = AttachmentTheme.dark,
  this.maxScanPages = 20,
  this.maxImageCount = 0,
  this.maxFileCount = 0,
});