Migration guide

If your application doesn’t implement or subclass TextInputClient,
no migration is needed. If your application doesn’t target iOS,
or the class that implemented the textInputClient interface doesn’t 
support autocorrect, you only need to add an empty implementation
for the new method:

class

CustomTextInputClient

implements

TextInputClient

void

showAutocorrectionPromptRect

int

start

int

end

{}

Otherwise, if your app targets iOS and supports autocorrect on iOS,
we recommend that you add a sensible implementation of
void showAutocorrectionPromptRect(int start, int end) 
to your TextInputClient subclass.

Code after migration:

// Assume your `TextInputClient` is a `State` subclass, and it has a variable