SwitcherXlive constructor

const SwitcherXlive({
  1. Key? key,
  2. required bool value,
  3. required ValueChanged<bool> onChanged,
  4. Color? activeColor,
  5. Color? unActiveColor,
  6. Color? thumbColor,
})

Implementation

const SwitcherXlive({
  Key? key,
  required this.value,
  required this.onChanged,
  this.activeColor,
  this.unActiveColor,
  this.thumbColor,
}) : super(key: key);