/* ... */

Calling TextEditingController.buildTextSpan

Pass a named parameter ‘context’ of type
BuildContext to the call.

Code before migration:

TextEditingController

controller

/* ... */

TextSpan

span

controller

buildTextSpan

withComposing:

false

);

Error message before migration:

Code after migration:

BuildContext

context

/* ... */

TextEditingController

controller

/* ... */

TextSpan

span

controller

buildTextSpan

context:

context

withComposing:

false

);