GridItem.Size.flexible(minimum:maximum:)
A single flexible item.
Declaration
case flexible(minimum: CGFloat = 10, maximum: CGFloat = .infinity)Discussion
The size of this item is the size of the grid with spacing and inflexible items removed, divided by the number of flexible items, clamped to the provided bounds.