Generic Instance Method

toggleStyle(_:)

Sets the style for toggles within this view.

Declaration

func toggleStyle<S>(_ style: S) -> some View where S : ToggleStyle