Represents a switch/toggle element.
Whether the switch is on
Optional key for this element
Optional label text
Callback invoked when switch state changes