EasySwitch constructor

EasySwitch({
  1. Key? key,
  2. bool? value,
  3. ValueChanged<bool>? onChanged,
  4. Color? activeColor,
  5. Color? inactiveColor,
})

Implementation

EasySwitch({
  Key? key,
  this.value,
  this.onChanged,
  this.activeColor,
  this.inactiveColor,
}) : super(key: key);