InputSwitch constructor

const InputSwitch({
  1. Key? key,
  2. ValueChanged<bool>? onChanged,
  3. bool initialValue = false,
  4. Widget? label,
})

Implementation

const InputSwitch({
  super.key,
  this.onChanged,
  this.initialValue = false,
  this.label,
});