init(alignment:)
Creates a stack with the specified alignment.
Declaration
init(alignment: Alignment = .center)Parameters
- alignment:
The guide for aligning the subviews in this stack on both the x- and y-axes.
Creates a stack with the specified alignment.
init(alignment: Alignment = .center)The guide for aligning the subviews in this stack on both the x- and y-axes.