typealias Body
A view that represents the appearance and interaction of a toggle.
あるビュー、それはあるトグルの外観と相互作用を表します。
Availability 有効性
Technology
func makeBody(configuration: ButtonToggleStyle
.Configuration
) -> some View
A view that acts as a button that controls a Boolean state.
configuration
The properties of the toggle, including a label and a binding to the toggle’s state.
SwiftUI implements this required method of the Toggle
protocol to define the behavior and appearance of the button
toggle style. Don’t call this method directly; the system calls this method for each Toggle
instance in a view hierarchy that’s styled as a button.
typealias Body