Closed VimeshPolaris closed 2 years ago
You could just set a key for the FlutterMention widget & then just use these two ways to clear the field.
Using the controller's clear method: key.currentState.controller.clear();
Using the controller's text property: key.currentState.controller.text = '';
After mentioning the people from the list I want to clear the text-editing controller, but here, I can't find any property for that.
Anyone can help with that?