clearButtonMode property
final
Show an iOS-style clear button to clear the current text entry.
Can be made to appear depending on various text states of the TextEditingController.
Will only appear if no suffix widget is appearing.
Defaults to OverlayVisibilityMode.never.
Implementation
final OverlayVisibilityMode clearButtonMode;