StepIndicatorVerticalView

@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
struct StepIndicatorVerticalView<Cell> : View where Cell : View

A Step Indications View in vertical direction

creates step indicator view either in vertical mode

  • environment variable to access pitstop options

    Declaration

    Swift

    @Environment
    var pitStopsOptions: [AnyView] { get }
  • environment variable to access pitstop options

    Declaration

    Swift

    @Environment
    var pitStopLineOptions: [StepperLineOptions] { get }
  • environment variable to access autospacing

    Declaration

    Swift

    @Environment
    var autoSpacing: Bool { get }
  • environment variable for edge Insets

    Declaration

    Swift

    @Environment
    var stepperEdgeInsets: EdgeInsets { get }
  • environment variable to access steplife cycles

    Declaration

    Swift

    @Environment
    var stepLifeCycle: [StepLifeCycle] { get }
  • list of View's to display step indictor content

    Declaration

    Swift

    var cells: [Cell]
  • list of alignments to display the step indicator position can be top or center or bottom

    Declaration

    Swift

    var alignments: [StepperAlignment]
  • step indicator type can be a Circle , Image or Custom

    Declaration

    Swift

    var indicationType: [StepperIndicationType<AnyView>]
  • options to customize width , Color of the line

    Declaration

    Swift

    var lineOptions: StepperLineOptions
  • spacing between each of the step indicators

    Declaration

    Swift

    var verticalSpacing: CGFloat
  • to detect the whether the line option is of type rounded

    Declaration

    Swift

    var isRounded: Bool
  • initilazes cells, alignments , indicators and spacing

    Declaration

    Swift

    init(cells: [Cell], alignments: [StepperAlignment] = [], indicationType: [StepperIndicationType<AnyView>],
         lineOptions: StepperLineOptions = .defaults, verticalSpacing:CGFloat = 30.0)
  • Provides the content and behavior of this view.

    Declaration

    Swift

    var body: some View { get }