hasText property

bool get hasText

Implementation

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