Is there a proper way to add a clear button to the TextField?
TextField
Just like this picture from Material design guidelines:
What I found is
IconButton( icon: Icon(Icons.clear_all), tooltip: 'Close', onPressed: () { }, )