maxItemsPerLine property

int? maxItemsPerLine
final

The maximum number of items allowed per line when wrapping is enabled.

When set, forces a line break after this many items, regardless of available space. Useful for creating grid-like layouts with consistent item counts per row.

If null, items wrap based on available space only.

Implementation

final int? maxItemsPerLine;