MiniSwitch constructor

const MiniSwitch({
  1. Key? key,
  2. required bool value,
  3. ValueChanged<bool>? onChanged,
  4. bool disabled = false,
})

Implementation

const MiniSwitch({
  super.key,
  required this.value,
  this.onChanged,
  this.disabled = false,
});