formStyle(_:)
Sets the style for forms in a view hierarchy.
Declaration
nonisolated func formStyle<S>(_ style: S) -> some View where S : FormStyle
Parameters
- style:
The form style to set.
Return Value
A view that uses the specified form style for itself and its child views.