SemanticsWidget constructor

const SemanticsWidget({
  1. Key? key,
  2. required Widget child,
  3. String? label,
  4. String? value,
  5. String? tooltip,
  6. String? increasedValue,
  7. String? decreasedValue,
  8. String? hint,
  9. bool? button,
  10. bool? enabled,
  11. bool? checked,
  12. bool? selected,
  13. bool? toggled,
  14. bool? image,
  15. bool? header,
  16. bool? link,
  17. bool? slider,
  18. bool? readOnly,
  19. bool? focused,
  20. bool? obscured,
  21. bool? multiline,
  22. VoidCallback? onTap,
  23. VoidCallback? onLongPress,
  24. VoidCallback? onIncrease,
  25. VoidCallback? onDecrease,
  26. bool merge = true,
  27. bool testOnly = false,
  28. Map<String, String>? properties,
})

Implementation

const SemanticsWidget({
  super.key,
  required this.child,
  this.label,
  this.value,
  this.tooltip,
  this.increasedValue,
  this.decreasedValue,
  this.hint,
  this.button,
  this.enabled,
  this.checked,
  this.selected,
  this.toggled,
  this.image,
  this.header,
  this.link,
  this.slider,
  this.readOnly,
  this.focused,
  this.obscured,
  this.multiline,
  this.onTap,
  this.onLongPress,
  this.onIncrease,
  this.onDecrease,
  this.merge = true,
  this.testOnly = false,
  this.properties,
});