WrappingHStack
WrappingHStack copied to clipboard
What is layoutProperties used for?
See the attached screenshot and the linked line.
https://github.com/ksemianov/WrappingHStack/blob/main/Sources/WrappingHStack/WrappingHStack.swift#L36
LayoutProperties is one of the optional Layout protocol requirements. In theory, it might help SwiftUI's layouting engine to make better size proposals. However, I haven't observed any difference with default values.