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.NodeParameters
configurationconfiguration for node in
StepProgressIndicator.Return Value
A new
StepProgressIndicatorwith specific node. -
Title style for
StepProgressIndicator.Declaration
Swift
@ViewBuilder func makeTitle(configuration: Self.Configuration) -> Self.TitleParameters
configurationconfiguration for title in
StepProgressIndicator.Return Value
A new
StepProgressIndicatorwith specific title. -
Line style for
StepProgressIndicator.Declaration
Swift
@ViewBuilder func makeLine(configuration: Self.Configuration) -> Self.LineParameters
configurationconfiguration for line in
StepProgressIndicator.Return Value
A new
StepProgressIndicatorwith specific line. -
The properties of a step.
Declaration
Swift
typealias Configuration = StepConfiguration
-
makeNode(configuration:Extension method) Use
defaultstyle node forStepProgressIndicatorDeclaration
Swift
@ViewBuilder func makeNode(configuration: Self.Configuration) -> some View -
makeTitle(configuration:Extension method) Use
defaultstyle title forStepProgressIndicatorDeclaration
Swift
@ViewBuilder func makeTitle(configuration: Self.Configuration) -> some View -
makeLine(configuration:Extension method) Use
defaultstyle line forStepProgressIndicatorDeclaration
Swift
@ViewBuilder func makeLine(configuration: Self.Configuration) -> some View