Contents

VStackLayout

A vertical container that you can use in conditional layouts.

Declaration

@frozen struct VStackLayout

Overview

This layout container behaves like a VStack, but conforms to the Layout protocol so you can use it in the conditional layouts that you construct with AnyLayout. If you don’t need a conditional layout, use VStack instead.

Topics

Creating a vertical stack

Getting the stack’s properties

See Also

Transitioning between layout types