onContentInserted property

ValueChanged<KeyboardInsertedContent> onContentInserted
final

Called when a user inserts content through the virtual / on-screen keyboard, currently only used on Android.

KeyboardInsertedContent holds the data representing the inserted content.

This example shows how to access the data for inserted content in your TextField.
link

To create a local project with this code sample, run:
flutter create --sample=widgets.ContentInsertionConfiguration.onContentInserted.1 mysample

See also:

Implementation

final ValueChanged<KeyboardInsertedContent> onContentInserted;