Case

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.