ModernSwitch constructor
Implementation
const ModernSwitch({
super.key,
required this.value,
required this.onChanged,
this.isDarkMode = true,
this.semanticLabel,
});
const ModernSwitch({
super.key,
required this.value,
required this.onChanged,
this.isDarkMode = true,
this.semanticLabel,
});