QuillClipboardConfig class

Annotations

Constructors

QuillClipboardConfig.new({@experimental Future<bool> onClipboardPaste()?, @experimental Future<bool> onUnprocessedPaste()?, Future<String?> onImagePaste(Uint8List imageBytes)?, @experimental Future<String?> onGifPaste(Uint8List imageBytes)?, @experimental Future<Delta?> onRichTextPaste(Delta delta, bool isExternal)?, @experimental Future<String?> onPlainTextPaste(String plainText)?, @experimental bool? enableExternalRichPaste})
const

Properties

enableExternalRichPaste bool?
Determines if rich text pasting from external sources (system clipboard) is enabled.
final
hashCode int
The hash code for this object.
no setterinherited
onClipboardPaste Future<bool> Function()?
Callback to allow overriding the default clipboard paste handling.
final
onGifPaste Future<String?> Function(Uint8List imageBytes)?
Callback when the user pastes the given GIF.
final
onImagePaste Future<String?> Function(Uint8List imageBytes)?
Callback when the user pastes the given image.
final
onPlainTextPaste Future<String?> Function(String plainText)?
Callback triggered when pasting plain text into the editor.
final
onRichTextPaste Future<Delta?> Function(Delta delta, bool isExternal)?
Callback triggered when pasting a Delta to the editor.
final
onUnprocessedPaste Future<bool> Function()?
Callback when the user pastes and data has not already been processed.
final
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