Contents

DefaultToggleStyle

The default toggle style.

Declaration

struct DefaultToggleStyle

Overview

Use the automatic static variable to create this style:

Toggle("Enhance Sound", isOn: $isEnhanced)
    .toggleStyle(.automatic)

Topics

Creating the toggle style

Supporting types

See Also

Supporting types