maxLines property

int maxLines
final

Creates a wrap layout.

By default, the wrap layout is horizontal and both the children and the runs are aligned to the start.

The textDirection argument defaults to the ambient Directionality, if any. If there is no ambient directionality, and a text direction is going to be necessary to decide which direction to lay the children in or to disambiguate start or end values for the main or cross axis directions, the textDirection must not be null.

Implementation

final int maxLines;