AdaptiveSwitch constructor

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

Implementation

const AdaptiveSwitch({
  super.key,
  required this.value,
  required this.onChanged,
  this.activeThumbColor,
  this.thumbColor,
});