showClearButton property

bool showClearButton
final

Whether or not the search bar should add a clear input button, defaults to true.

To add custom ClearButton - set this to false, and add you button via actions.

Implementation

final bool showClearButton;