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