maxLines property

int? maxLines
final

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

Implementation

final int? maxLines;