OneSwitch constructor
const
OneSwitch({
- required String name,
- required SwitchState state,
Creates a switch value.
Implementation
const OneSwitch({required super.name, required this.state});