MiniSwitch constructor
const
MiniSwitch({
- Key? key,
- required bool value,
- ValueChanged<
bool> ? onChanged, - bool disabled = false,
Implementation
const MiniSwitch({
super.key,
required this.value,
this.onChanged,
this.disabled = false,
});