clearButtonMode property

OverlayVisibilityMode clearButtonMode

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 never appearing and cannot be null.


final OverlayVisibilityMode clearButtonMode;