AttachmentConfig constructor
const
AttachmentConfig({
- required List<
AttachmentFeature> features, - AttachmentUIStyle uiStyle = AttachmentUIStyle.bottomSheet,
- bool enableCropping = true,
- bool allowMultipleGallery = true,
- AttachmentTheme theme = AttachmentTheme.dark,
- int maxScanPages = 20,
- int maxImageCount = 0,
- 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,
});