insertContent method

  1. @override
void insertContent(
  1. KeyboardInsertedContent content
)
override

Notify client about new content insertion from Android keyboard.

Implementation

@override
void insertContent(KeyboardInsertedContent content) {
  assert(widget.contentInsertionConfiguration?.allowedMimeTypes.contains(content.mimeType) ?? false);
  widget.contentInsertionConfiguration?.onContentInserted.call(content);
}