StepIndicatorHorizontalView
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
struct StepIndicatorHorizontalView<Cell> : View where Cell : View
A Step Indications View in horizontal direction
creates step indicator view either in horizontal mode
-
environment variable to autospacing
Declaration
Swift
@Environment var autoSpacing: Bool { get } -
environment variable to access steplife cycles
Declaration
Swift
@Environment var stepLifeCycle: [StepLifeCycle] { get } -
list of
View'sto display step indictor contentDeclaration
Swift
var cells: [Cell] -
list of alignments to display the step indicator position can be
toporcenterorbottomDeclaration
Swift
var alignments: [StepperAlignment] -
step indicator type can be a
Circle,ImageorCustomDeclaration
Swift
var indicationType: [StepperIndicationType<AnyView>] -
options to customize
width,Colorof the lineDeclaration
Swift
var lineOptions: StepperLineOptions -
spacing between each of the step indicators
Declaration
Swift
var horizontalSpacing: CGFloat -
to detect the whether the line option is of type
roundedDeclaration
Swift
var isRounded: Bool -
initilazes cells, alignments , indicators and spacing
Declaration
Swift
init(cells: [Cell], alignments: [StepperAlignment] = [], indicationType: [StepperIndicationType<AnyView>], lineOptions: StepperLineOptions = .defaults, horizontalSpacing:CGFloat = 50.0) -
Provides the content and behavior of this view.
Declaration
Swift
var body: some View { get }
StepIndicatorHorizontalView Structure Reference