maxLines property

int? maxLines
final

int the maximum number of lines of text to show within the widget, used in the same way as the standard Text widget

Implementation

final int? maxLines;