Spacer
public struct Spacer : View, GrowingAxesModifying
A flexible space that expands along the major axis of its containing stack layout, or on both axes if not contained in a stack.
-
Declaration
Swift
public typealias Body = Never
-
Initializes the
Spacer
.Declaration
Swift
public init()
-
Declaration
Swift
public func modifiedGrowingLayoutAxes(forGrowingAxesOfSubnodes: Set<GrowingLayoutAxis>) -> Set<GrowingLayoutAxis>