singleLine property

bool get singleLine

One line that never wraps, from the text's line limit.

Implementation

bool get singleLine => text?.maxLines == 1;