hasText property
bool
get
hasText
Indicates whether this text fragment contains any character content.
Implementation
bool get hasText => text.isNotEmpty;
Indicates whether this text fragment contains any character content.
bool get hasText => text.isNotEmpty;