singleLine property

bool get singleLine

Whether every formatted slot holds a single line.

Implementation

bool get singleLine =>
    definitions.isNotEmpty && definitions.every((text) => text.maxLines == 1);