hasText property

bool get hasText

Whether the search field has text.

Implementation

bool get hasText => _textController.text.isNotEmpty;