suffixButton property

SuffixButton? suffixButton
final

The suffix button with a default behavior:

SuffixButton.obscureText : Show an eye icon and obscure the text, and when is pressed make a toggle, so Show an eye with a line icon and not obscure the text.

SuffixButton.clearText : Show an "X" icon, and when is pressed, clear the text.

Implementation

final SuffixButton? suffixButton;