MinSwitch constructor

const MinSwitch({
  1. Key? key,
  2. required bool value,
  3. ValueChanged<bool>? onChanged,
  4. MinSwitchSize size = MinSwitchSize.md,
  5. bool disabled = false,
  6. FocusNode? focusNode,
  7. bool autofocus = false,
  8. 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,
});