I\'d like to supply an initial value to a text field and redraw it with an empty value to clear the text. What\'s the best approach to do that with Flutter\'s APIs?
I've seen many ways of doing this on here. However I think this is a little more efficient or at least concise than the other answers.
TextField( controller: TextEditingController(text: "Initial Text here"), )