SubZeroSwitch constructor
const
SubZeroSwitch({
- Key? key,
- required bool value,
- required ValueChanged<
bool> ? onChanged, - String activeLabel = 'YES',
- String inactiveLabel = 'NO',
- SubZeroSwitchSize size = SubZeroSwitchSize.medium,
- bool enabled = true,
- String? semanticLabel,
Implementation
const SubZeroSwitch({
super.key,
required this.value,
required this.onChanged,
this.activeLabel = 'YES',
this.inactiveLabel = 'NO',
this.size = SubZeroSwitchSize.medium,
this.enabled = true,
this.semanticLabel,
});