DeviceControl constructor
DeviceControl({
- Key? key,
- required bool onOff,
- ValueChanged<
bool> ? onChangedCallback,
Implementation
DeviceControl({
Key? key,
required this.onOff,
this.onChangedCallback,
}) : super(key: key);