Use [Intent]s to send text input plugin commands to text fields #94961
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #30725 #85328
TextInputConnection
type that dispatches text input plugin commands in the form ofIntent
s to Flutter text fields, as an alternative to the currentTextInputClient
approach. This allows text input plugin authors to add new capabilities to Flutter text fields without having to update a static interface (currently all capabilities have to be added to theTextInputClient
interface and it's always a breaking change to add a new one). See https://docs.google.com/document/d/1pNM7Ay3NkIBjE0jIY-c41OdtSc9bv_izO7xJ9OrAT5E/editdoCommandBySelector:
to framework intents, and send the intents viaIntentTextInputConnection
.Future Plans
TextInputClient
andDeltaTextInputClient
.Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.