CustomAttachmentType class
Class which holds data for a custom attachment type in the attachment picker
Constructors
- CustomAttachmentType({required String type, required CustomAttachmentIconBuilder iconBuilder, required WidgetBuilder pickerBuilder})
- Default constructor for creating a custom attachment for the attachment picker.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconBuilder ↔ CustomAttachmentIconBuilder
-
Builds the icon in the attachment picker top row.
getter/setter pair
- pickerBuilder ↔ WidgetBuilder
-
Builds content in the attachment builder when icon is selected.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String
-
Type name.
getter/setter pair
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