maxLines property

int? maxLines
getter/setter pair

An optional maximum number of lines for the text to span, wrapping if necessary.

If the text exceeds the given number of lines, it is truncated such that subsequent lines are dropped.

Implementation

int? maxLines;