singleLine property
bool
get
singleLine
One line that never wraps, from the text's line limit.
Implementation
bool get singleLine => text?.maxLines == 1;
One line that never wraps, from the text's line limit.
bool get singleLine => text?.maxLines == 1;