ContentInsertionConfiguration class

Configures the ability to insert media content through the soft keyboard.

The configuration provides a handler for any rich content inserted through the system input method, and also provides the ability to limit the mime types of the inserted content.

See also:

Constructors

ContentInsertionConfiguration({required ValueChanged<KeyboardInsertedContent> onContentInserted, List<String> allowedMimeTypes = kDefaultContentInsertionMimeTypes})
Creates a content insertion configuration with the specified options.

Properties

allowedMimeTypes → List<String>
Used when a user inserts image-based content through the device keyboard, currently only used on Android.
final
hashCode → int
The hash code for this object.
no setterinherited
onContentInserted → ValueChanged<KeyboardInsertedContent>
Called when a user inserts content through the virtual / on-screen keyboard, currently only used on Android.
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