showClearButton property

bool showClearButton
final

Whether to show a clear (✕) button when the field has text.

Ignored when obscureText is true. Defaults to true.

Implementation

final bool showClearButton;