maxLines property
The maximum number of lines allowed when wrapping is enabled.
Limits the total number of lines in the layout. Items exceeding this limit may be hidden or handled according to overflow settings.
Implementation
final int? maxLines;