ZStack
public struct ZStack<Content> : Stack, GrowingAxesModifying where Content : View
A view that overlays its children, aligning them in both axes.
-
Declaration
Swift
public let body: Content -
Declaration
Swift
public func modifiedGrowingLayoutAxes(forGrowingAxesOfSubnodes: Set<GrowingLayoutAxis>) -> Set<GrowingLayoutAxis> -
Creates an instance with the given content
Declaration
Swift
public init(@ViewBuilder content: () -> Content)
View on GitHub
ZStack Structure Reference