StepperView

@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
public struct StepperView : View

A View for Step Indications.

You create step indicator view either in vertical or horizontal mode

  • contains list of steps to be rendered next to Indicators

    Declaration

    Swift

    @Environment
    var steps: [AnyView] { get }
  • alignments to place the step indicators

    Declaration

    Swift

    @Environment
    var alignments: [StepperAlignment] { get }
  • step indicator type can be a Circle , Image or Custom

    Declaration

    Swift

    @Environment
    var indicationType: [StepperIndicationType<AnyView>] { get }
  • to customise the width , Color of the line

    Declaration

    Swift

    @Environment
    var lineOptions: StepperLineOptions { get }
  • aligns the step indicator either in vertical or horizontal

    Declaration

    Swift

    @Environment
    var stepperMode: StepperMode { get }
  • spacing between each of the step indicators

    Declaration

    Swift

    @Environment
    var spacing: CGFloat { get }
  • empty initilazer

    Declaration

    Swift

    public init()
  • provides the content and behavior of this view.

    Declaration

    Swift

    public var body: some View { get }