WebOrDesktopAttachmentPickerOption constructor

WebOrDesktopAttachmentPickerOption({
  1. String? key,
  2. required AttachmentPickerType type,
  3. required Widget icon,
  4. required String? title,
})

Creates a new instance of WebOrDesktopAttachmentPickerOption.

Implementation

WebOrDesktopAttachmentPickerOption({
  super.key,
  required AttachmentPickerType type,
  required super.icon,
  required super.title,
}) : super(supportedTypes: [type]);