maxLines property
The maximum number of lines allowed when wrapping is enabled.
When set, limits the total number of lines in the layout. Items that would exceed this limit are hidden or handled according to overflow settings.
If null, unlimited lines are allowed.
Implementation
final int? maxLines;