HorizontalLineView
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
struct HorizontalLineView : View
Horizontal Line View for Step Indictor
-
binding variable to hold the divider width
Declaration
Swift
@Binding var dividerWidth: CGFloat { get nonmutating set }
-
binding variable to hold line y-axis position
Declaration
Swift
@Binding var lineYOffsetPosition: CGFloat { get nonmutating set }
-
options for customizing line with either
defaults
or customwidth
andColor
Declaration
Swift
var options: StepperLineOptions
-
provides the content and behavior of this view.
Declaration
Swift
var body: some View { get }