When i use this code it works correctly, the controller.text is updated.
textController.addListener(() {
setState(() {
textController.text = analyzeText;
});
});
But when i try to add end of text, it crash does not give error. Why?
textController.addListener(() {
setState(() {
textController.text += ' ' + analyzeText;
});
});