AdaptiveSwitch constructor
const
AdaptiveSwitch({
- Key? key,
- required bool value,
- ValueChanged<
bool> ? onChanged,
Implementation
const AdaptiveSwitch({
super.key,
required this.value,
this.onChanged,
});