MREImagePasteHooks class
The text field parameters that carry image paste.
Pass them to the TextField or TextFormField built inside MREImagePasteScope.
- Annotations
Constructors
- MREImagePasteHooks({ContentInsertionConfiguration? contentInsertionConfiguration, EditableTextContextMenuBuilder? contextMenuBuilder, Widget? attachments})
-
Creates the hooks.
const
Properties
- attachments → Widget?
-
Optional attachments, to place inside the host input decoration.
final
- contentInsertionConfiguration → ContentInsertionConfiguration?
-
Receives images from the on-screen keyboard (stickers, GIFs, images).
final
- contextMenuBuilder → EditableTextContextMenuBuilder?
-
A text selection menu with a "paste image" item.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
- none → const MREImagePasteHooks
- No hooks. Used when the behaviour accepts no images.