SubZeroBinaryToggle constructor

const SubZeroBinaryToggle({
  1. Key? key,
  2. required bool value,
  3. required ValueChanged<bool>? onChanged,
  4. SubZeroToggleSize size = SubZeroToggleSize.medium,
  5. bool enabled = true,
  6. String? semanticLabel,
  7. Color? activeColor,
  8. Color? inactiveTrackColor,
  9. Color? inactiveThumbColor,
})

Implementation

const SubZeroBinaryToggle({
  super.key,
  required this.value,
  required this.onChanged,
  this.size = SubZeroToggleSize.medium,
  this.enabled = true,
  this.semanticLabel,
  this.activeColor,
  this.inactiveTrackColor,
  this.inactiveThumbColor,
});