OpenWSwitch constructor

const OpenWSwitch({
  1. Key? key,
  2. required dynamic state,
  3. required bool value,
  4. required FFill activeColor,
  5. required FFill activeTrackColor,
  6. required FFill inactiveThumbColor,
  7. required FFill inactiveTrackColor,
  8. required FFill focusColor,
  9. required FFill hoverColor,
})

Implementation

const OpenWSwitch({
  super.key,
  required this.state,
  required this.value,
  required this.activeColor,
  required this.activeTrackColor,
  required this.inactiveThumbColor,
  required this.inactiveTrackColor,
  required this.focusColor,
  required this.hoverColor,
});