View
public extension View
Helper function of View to operate on
-
Stores the height for each of column which will be passed as part of onPreference change parent view.
Declaration
Swift
@MainActor func heightPreference(column: Int) -> some View -
Stores the width for each of column which will be passed as part of onPreference change to parent view.
Declaration
Swift
@MainActor func widthPreference(column: Int) -> some View -
Stores the width which will be passed as part of onPreference change to parent view.
Declaration
Swift
@MainActor func widthKey() -> some View -
Stores the height for each of column which will be passed as part of onPreference change to parent view.
Declaration
Swift
@MainActor func heightKey() -> some View -
Stores the height for each of column which will be passed as part of onPreferenceChange to parent view.
Declaration
Swift
@MainActor func verticalHeightPreference(column: Int? = 0) -> some View -
Stores the height for each of column which will be passed as part of onPreferenceChange to parent view.
Declaration
Swift
@MainActor func pitstopHeightPreference(column: Int? = 0) -> some View -
Stores CGRect data for each cell which will be passed as part of onPreferenceChange to the parent view.
Declaration
Swift
@MainActor func cgRectPreference() -> some View -
returns the alignment guide based on the alignemnt type.
Declaration
Swift
@MainActor func setAlignment(type: StepperAlignment) -> some ViewParameters
typesets the aligment guide.
-
returmns the alginment based ont he Stepper Alignment
Declaration
Swift
@MainActor func getAlignment(type: StepperAlignment) -> VerticalAlignmentParameters
typeStepperAlignment enum
-
Embeds the view in navigationView
Declaration
Swift
@MainActor func embedINNavigationView() -> some View -
Wrapper to AnyView
Declaration
Swift
@MainActor func eraseToAnyView() -> AnyView -
Returns either
top,centerbottombound positionsDeclaration
Swift
@MainActor func getYPosition(for alignment: StepperAlignment) -> CGFloat -
Configures Steps to environment value
Declaration
Swift
@MainActor func addSteps<Cell>(_ steps: [Cell]) -> some View where Cell : View -
Sets alignments to environment value
Declaration
Swift
@MainActor func alignments(_ alignments: [StepperAlignment] = []) -> some View -
Sets lifecycle status to environment value
Declaration
Swift
@MainActor func stepLifeCycles(_ lifecycle: [StepLifeCycle] = [.completed, .completed, .completed]) -> some View -
Sets indicators to environment value
Declaration
Swift
@MainActor func indicators<Cell>(_ indicators: [StepperIndicationType<Cell>] = []) -> some View where Cell : View -
Configures step Indicator mode to environment value
Declaration
Swift
@MainActor func stepIndicatorMode(_ mode: StepperMode) -> some View -
Configures spacing to environment value
Declaration
Swift
@MainActor func spacing(_ value: CGFloat) -> some View -
Configures auto spacing to environment value
Declaration
Swift
@MainActor func autoSpacing(_ value: Bool) -> some View -
Configures edgeInsets to environment value
Declaration
Swift
@MainActor func stepperEdgeInsets(_ value: EdgeInsets) -> some View -
Configures line options to environment value
Declaration
Swift
@MainActor func lineOptions(_ options: StepperLineOptions) -> some View -
Conditional modifier
Declaration
Swift
@MainActor func `if`<Content>(_ conditional: Bool, content: (Self) -> Content) -> some View where Content : View -
Custom behavior for pitstops
Declaration
Swift
@MainActor func addPitStops(_ steps: [AnyView]) -> some ViewParameters
stepslist of pitstop step views
-
Custom behavior for pitstops
Declaration
Swift
@MainActor func pitStopLineOptions(_ options: [StepperLineOptions]) -> some ViewParameters
stepslist of pitstop line options views
-
Custom behavior for pitstops
Declaration
Swift
@MainActor func animateSteps(_ count: Int) -> some ViewParameters
stepslist of pitstop step views
-
Custom behavior for pitstops
Declaration
Swift
@MainActor func loadingAnimationTime(_ time: Double) -> some ViewParameters
stepslist of pitstop step views
-
Method to add logging in View
Declaration
Swift
@MainActor func log(_ log: String) -> EmptyViewParameters
loglogging string to be displayed
View on GitHub
Install in Dash