isActive property

bool get isActive

Whether text contains a non-whitespace search term.

Implementation

bool get isActive => text.trim().isNotEmpty;