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