SubZeroLabeledBinaryToggle constructor

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