IndicatorView
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
struct IndicatorView : View
A View for Step Indicator
-
indicator type can be a
Circle,ImageorCustomDeclaration
Swift
var type: StepperIndicationType<AnyView> -
index position of the indicator
Declaration
Swift
var indexofIndicator: Int -
environment variable to access pitstop options
Declaration
Swift
@Environment var animations: Int { get } -
step indicator type can be a
Circle,ImageorCustomDeclaration
Swift
@Environment var indicationType: [StepperIndicationType<AnyView>] { get } -
loading time for animations
Declaration
Swift
@Environment var loadingTime: Double { get } -
provides the content and behavior of this view.
Declaration
Swift
var body: some View { get } -
provides the overlay
ViewDeclaration
Swift
func getViewForOverlay(of type: StepperIndicationType<AnyView>, for index: Int) -> some ViewParameters
typecan be a
Circle,ImageorCustomindexindex position of the indicator
IndicatorView Structure Reference