BPKFlareView
public struct BPKFlareView<Content> : View where Content : View
A view that clips its content to a shape with a flare at one end.
-
Creates a view that clips its content to a shape with a flare at one end.
Declaration
Swift
public init( size: BPKFlareSize = .medium, roundedCorners: Bool = true, direction: BPKFlareDirection = .bottom, content: () -> Content )Parameters
sizeThe size of the flare. Default is
.medium.roundedCornersWhether to round the corners of the shape. Default is
true.directionThe direction of the flare. Default is
.bottom.contentThe content to clip to the shape.
-
Declaration
Swift
public var body: some View { get }