MinSwitch constructor
const
MinSwitch({
- Key? key,
- required bool value,
- ValueChanged<
bool> ? onChanged, - MinSwitchSize size = MinSwitchSize.md,
- bool disabled = false,
- FocusNode? focusNode,
- bool autofocus = false,
- String? semanticLabel,
Implementation
const MinSwitch({
super.key,
required this.value,
this.onChanged,
this.size = MinSwitchSize.md,
this.disabled = false,
this.focusNode,
this.autofocus = false,
this.semanticLabel,
});