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