// simple Toggle Toggle("is compact", isOn: $isCompact) // โญโโโ label โโโโฎ Toggle(isOn: $isOn) { Text("...") }
TestIdealSizeView - toggle view's state.
struct Toggle<Label: View>
SwiftUI โฉ Views and Controls โฉ
Toggle โฉ .toggleStyle(_:)
Label
Last updated 2 years ago