static var automatic: DefaultToggleStyle
The default toggle style.
省略時のトグルスタイル。
Available when
Self
is DefaultToggleStyle
.Availability 有効性
Technology
struct DefaultToggleStyle
Use the automatic
static variable to create this style:
Toggle("Enhance Sound", isOn: $isEnhanced)
.toggleStyle(.automatic)
static var automatic: DefaultToggleStyle
Self
is DefaultToggleStyle
.init()
func makeBody (configuration: DefaultToggleStyle .Configuration) -> some View
typealias Body
struct ButtonToggleStyle
struct CheckboxToggleStyle
struct SwitchToggleStyle