StepStyle
public protocol StepStyle
Steps style for StepProgressIndicator
which is initialized by [StepItem]
.
-
A view that represents the node of a step.
Declaration
Swift
associatedtype Node : View
-
A view that represents the title of a step.
Declaration
Swift
associatedtype Title : View
-
A view that represents the separator line of a step.
Declaration
Swift
associatedtype Line : View
-
Node style for
StepProgressIndicator
.Declaration
Swift
@ViewBuilder func makeNode(configuration: Self.Configuration) -> Self.Node
Parameters
configuration
configuration for node in
StepProgressIndicator
.Return Value
A new
StepProgressIndicator
with specific node. -
Title style for
StepProgressIndicator
.Declaration
Swift
@ViewBuilder func makeTitle(configuration: Self.Configuration) -> Self.Title
Parameters
configuration
configuration for title in
StepProgressIndicator
.Return Value
A new
StepProgressIndicator
with specific title. -
Line style for
StepProgressIndicator
.Declaration
Swift
@ViewBuilder func makeLine(configuration: Self.Configuration) -> Self.Line
Parameters
configuration
configuration for line in
StepProgressIndicator
.Return Value
A new
StepProgressIndicator
with specific line. -
The properties of a step.
Declaration
Swift
typealias Configuration = StepConfiguration
-
makeNode(configuration:
Default implementation) Default Implementation
Use
default
style node forStepProgressIndicator
Declaration
Swift
@ViewBuilder func makeNode(configuration: Self.Configuration) -> some View
-
makeTitle(configuration:
Default implementation) Default Implementation
Use
default
style title forStepProgressIndicator
Declaration
Swift
@ViewBuilder func makeTitle(configuration: Self.Configuration) -> some View
-
makeLine(configuration:
Default implementation) Default Implementation
Use
default
style line forStepProgressIndicator
Declaration
Swift
@ViewBuilder func makeLine(configuration: Self.Configuration) -> some View