VStack
public struct VStack : View
The container that align children from top to bottom.
same as the flex-direction: column
in flexbox layout.
VStack {
Text("1")
Text("2")
Text("3")
}
-
the node behind the VStack
Declaration
Swift
public var node: ArgoKitNode? { get }
-
Undocumented
Declaration
Swift
public init()
-
initalize the VStack with view builder.
VStack { Text("1") Text("2") Text("3") }
Declaration
Swift
public init(@ArgoKitViewBuilder _ builder: @escaping () -> View)
Parameters
builder
view builder.