Creates an instance with the given spacing and horizontal alignment.
- Parameters:
- alignment: The guide for aligning the subviews in this stack. It has
the same horizontal screen coordinate for all children.
- spacing: The distance between adjacent subviews, or `nil` if you
want the stack to choose a default distance for each pair of
subviews.
- content: A view builder that creates the content of this stack.
The type of view representing the body of this view.
When you create a custom view, Swift infers this type from your
implementation of the required `body` property.
A type that can serve as the animatable data of an animatable type.
``VectorArithmetic`` extends the `AdditiveArithmetic` protocol with scalar
multiplication and a way to query the vector magnitude of the value. Use
this type as the `animatableData` associated type of a type that conforms to
the ``Animatable`` protocol.