DSToggleButton constructor

const DSToggleButton({
  1. required bool initialValue,
  2. required ValueChanged<bool> onChanged,
  3. Color? activeColor,
  4. Color? inactiveColor,
  5. Key? key,
})

Implementation

const DSToggleButton({
  required this.initialValue,
  required this.onChanged,
  this.activeColor,
  this.inactiveColor,
  super.key,
});