init(primary:secondary:)
Creates an arrangement view with a primary and secondary view.
Declaration
nonisolated init(@ContentBuilder primary: () -> Primary, @ContentBuilder secondary: () -> Secondary)Parameters
- primary:
The view to display as the primary content in the arrangement.
- secondary:
The view to display as the secondary content in the arrangement.