Code
DIFlowLayout – A SwiftUI layout

DIFlowLayout is a SwiftUI Layout implementation where subviews are arranged horizontally and wrapped vertically, similar to how text behaves in a multiline label.
DIFlowLayout works by first grouping subviews into rows based on the proposed container width, subviews’ intrinsic size, and spacing values. Subviews, once grouped into rows, can be vertically and horizontally aligned within their row.
