DefaultToggleStyle
The default toggle style.
Declaration
struct DefaultToggleStyleOverview
Use the automatic static variable to create this style:
Toggle("Enhance Sound", isOn: $isEnhanced)
.toggleStyle(.automatic)The default toggle style.
struct DefaultToggleStyleUse the automatic static variable to create this style:
Toggle("Enhance Sound", isOn: $isEnhanced)
.toggleStyle(.automatic)