SubZeroToggle constructor
const
SubZeroToggle({
- Key? key,
- required bool value,
- required ValueChanged<
bool> ? onChanged, - SubZeroSwitchSize size = SubZeroSwitchSize.medium,
- bool enabled = true,
- String? semanticLabel,
- Color? activeColor,
Implementation
const SubZeroToggle({
super.key,
required this.value,
required this.onChanged,
this.size = SubZeroSwitchSize.medium,
this.enabled = true,
this.semanticLabel,
this.activeColor,
});