onSuffixTap property Null safety

VoidCallback? onSuffixTap
final

Sets the X-Mark (suffix) action.

Defaults to clearing the text. The suffix action is customizable so that users can override it with other functionality, that isn't necessarily clearing text.

Implementation

final VoidCallback? onSuffixTap;