WebOrDesktopAttachmentPickerOption class

The attachment picker option for the web or desktop platforms.

Inheritance

Constructors

WebOrDesktopAttachmentPickerOption({String? key, required AttachmentPickerType type, required Widget icon, required String? title})
Creates a new instance of WebOrDesktopAttachmentPickerOption.
WebOrDesktopAttachmentPickerOption.fromAttachmentPickerOption(AttachmentPickerOption option)
Creates a new instance of WebOrDesktopAttachmentPickerOption from option.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
icon Widget
The icon of the option.
finalinherited
key String?
A key to identify the option.
finalinherited
optionViewBuilder AttachmentPickerOptionViewBuilder?
The option view builder.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedTypes Iterable<AttachmentPickerType>
The supported types of the option.
finalinherited
title String
The title of the option.
no setteroverride
type AttachmentPickerType
Type of the option.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited