SubZeroLabeledToggle constructor

const SubZeroLabeledToggle({
  1. Key? key,
  2. required String label,
  3. required bool value,
  4. required ValueChanged<bool>? onChanged,
  5. String? description,
  6. SubZeroSwitchSize size = SubZeroSwitchSize.medium,
  7. bool enabled = true,
  8. SubZeroSwitchLabelPosition labelPosition = SubZeroSwitchLabelPosition.start,
  9. 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,
});