SemanticsSwitch constructor

const SemanticsSwitch({
  1. Key? key,
  2. required Widget child,
  3. required bool value,
  4. String? label,
  5. String? tooltip,
  6. ValueChanged<bool>? onChanged,
  7. Map<String, String>? properties,
  8. bool testOnly = false,
})

Implementation

const SemanticsSwitch({
  super.key,
  required this.child,
  required this.value,
  this.label,
  this.tooltip,
  this.onChanged,
  this.properties,
  this.testOnly = false,
});