showAutocorrectionPromptRect method added to TextInputClient

Summary

Context

Description of change

Migration guide

Timeline

References

Summary

A new method,void showAutocorrectionPromptRect(int start, int end),
was added to the TextInputClient interface.

Context

In order to display the iOS autocorrection highlight,
the iOS text input plugin needed a way to inform the
Flutter framework of the highlight’s start and end position.

Description of change

A new method, void showAutocorrectionPromptRect(int start, int end),
was added to the TextInputClient interface. iOS calls this method
when it finds a new potential autocorrect candidate
in the current user input, or when the range of a previously
highlighted candidate changes.

Migration guide