GlassSwitch constructor
Creates a switch.
Implementation
const GlassSwitch({
super.key,
required this.value,
required this.onChanged,
this.activeColor,
this.semanticLabel,
this.focusNode,
this.autofocus = false,
});
Creates a switch.
const GlassSwitch({
super.key,
required this.value,
required this.onChanged,
this.activeColor,
this.semanticLabel,
this.focusNode,
this.autofocus = false,
});