IndicatorView

@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
struct IndicatorView : View

A View for Step Indicator

  • indicator type can be a Circle , Image or Custom

    Declaration

    Swift

    var type: StepperIndicationType<AnyView>
  • index position of the indicator

    Declaration

    Swift

    var indexofIndicator: Int
  • provides the content and behavior of this view.

    Declaration

    Swift

    var body: some View { get }
  • provides the overlay View

    Declaration

    Swift

    func getViewForOverlay(of type: StepperIndicationType<AnyView>, for index: Int) -> some View

    Parameters

    type

    can be a Circle , Image or Custom

    index

    index position of the indicator