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
size
The size of the flare. Default is
.medium
.roundedCorners
Whether to round the corners of the shape. Default is
true
.direction
The direction of the flare. Default is
.bottom
.content
The content to clip to the shape.
-
Declaration
Swift
public var body: some View { get }