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