InputSwitch constructor
const
InputSwitch({
- Key? key,
- ValueChanged<
bool> ? onChanged, - bool initialValue = false,
- Widget? label,
Implementation
const InputSwitch({
super.key,
this.onChanged,
this.initialValue = false,
this.label,
});