maxLines property

int? maxLines
final

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

This property takes effect immediately when changed, it is not animated.

See DefaultTextStyle.maxLines for more details.

Implementation

final int? maxLines;