AttachmentPickerOption constructor

const AttachmentPickerOption({
  1. String? key,
  2. required Iterable<AttachmentPickerType> supportedTypes,
  3. required Widget icon,
  4. String? title,
  5. AttachmentPickerOptionViewBuilder? optionViewBuilder,
})

Creates a new instance of AttachmentPickerOption.

Implementation

const AttachmentPickerOption({
  this.key,
  required this.supportedTypes,
  required this.icon,
  this.title,
  this.optionViewBuilder,
});