AttachmentPickerOption class
Model class for the attachment picker options.
- Implementers
Constructors
-
AttachmentPickerOption({String? key, required Iterable<
AttachmentPickerType> supportedTypes, required Widget icon, String? title, AttachmentPickerOptionViewBuilder? optionViewBuilder}) -
Creates a new instance of AttachmentPickerOption.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- icon → Widget
-
The icon of the option.
final
- key → String?
-
A key to identify the option.
final
- optionViewBuilder → AttachmentPickerOptionViewBuilder?
-
The option view builder.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportedTypes
→ Iterable<
AttachmentPickerType> -
The supported types of the option.
final
- title → String?
-
The title of the option.
final
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.
override