Switch constructor
Switch({})
Creates a new Switch.
Implementation
Switch({
super.key,
required this.value,
required this.label,
required this.onChanged,
this.focused = false,
this.style = Style.empty,
this.focusedStyle = const Style(modifiers: Modifier.reverse),
});