resetIcon property

Icon? resetIcon
final

The InputDecoration.suffixIcon to show when the field has text. Tapping the icon will clear the text field. Set this to null to disable that behavior. Also, setting the suffix icon yourself will override this option.

Implementation

final Icon? resetIcon;