onContentInserted property

ValueChanged<KeyboardInsertedContent> onContentInserted

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.

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

See also:


final ValueChanged<KeyboardInsertedContent> onContentInserted;