maxLines property

int? maxLines
final

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

See DefaultTextStyle.maxLines for more details.

Implementation

final int? maxLines;