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
,Image
orCustom
Declaration
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
,Image
orCustom
Declaration
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
View
Declaration
Swift
func getViewForOverlay(of type: StepperIndicationType<AnyView>, for index: Int) -> some View
Parameters
type
can be a
Circle
,Image
orCustom
index
index position of the indicator