SemanticsProperties constructor

const SemanticsProperties(
  1. {bool enabled,
  2. bool checked,
  3. bool selected,
  4. bool toggled,
  5. bool button,
  6. bool link,
  7. bool header,
  8. bool textField,
  9. bool readOnly,
  10. bool focusable,
  11. bool focused,
  12. bool inMutuallyExclusiveGroup,
  13. bool hidden,
  14. bool obscured,
  15. bool multiline,
  16. bool scopesRoute,
  17. bool namesRoute,
  18. bool image,
  19. bool liveRegion,
  20. int maxValueLength,
  21. int currentValueLength,
  22. String label,
  23. String value,
  24. String increasedValue,
  25. String decreasedValue,
  26. String hint,
  27. SemanticsHintOverrides hintOverrides,
  28. TextDirection textDirection,
  29. SemanticsSortKey sortKey,
  30. VoidCallback onTap,
  31. VoidCallback onLongPress,
  32. VoidCallback onScrollLeft,
  33. VoidCallback onScrollRight,
  34. VoidCallback onScrollUp,
  35. VoidCallback onScrollDown,
  36. VoidCallback onIncrease,
  37. VoidCallback onDecrease,
  38. VoidCallback onCopy,
  39. VoidCallback onCut,
  40. VoidCallback onPaste,
  41. MoveCursorHandler onMoveCursorForwardByCharacter,
  42. MoveCursorHandler onMoveCursorBackwardByCharacter,
  43. MoveCursorHandler onMoveCursorForwardByWord,
  44. MoveCursorHandler onMoveCursorBackwardByWord,
  45. SetSelectionHandler onSetSelection,
  46. VoidCallback onDidGainAccessibilityFocus,
  47. VoidCallback onDidLoseAccessibilityFocus,
  48. VoidCallback onDismiss,
  49. Map<CustomSemanticsAction, VoidCallback> customSemanticsActions}
)

Creates a semantic annotation.

Implementation

const SemanticsProperties({
  this.enabled,
  this.checked,
  this.selected,
  this.toggled,
  this.button,
  this.link,
  this.header,
  this.textField,
  this.readOnly,
  this.focusable,
  this.focused,
  this.inMutuallyExclusiveGroup,
  this.hidden,
  this.obscured,
  this.multiline,
  this.scopesRoute,
  this.namesRoute,
  this.image,
  this.liveRegion,
  this.maxValueLength,
  this.currentValueLength,
  this.label,
  this.value,
  this.increasedValue,
  this.decreasedValue,
  this.hint,
  this.hintOverrides,
  this.textDirection,
  this.sortKey,
  this.onTap,
  this.onLongPress,
  this.onScrollLeft,
  this.onScrollRight,
  this.onScrollUp,
  this.onScrollDown,
  this.onIncrease,
  this.onDecrease,
  this.onCopy,
  this.onCut,
  this.onPaste,
  this.onMoveCursorForwardByCharacter,
  this.onMoveCursorBackwardByCharacter,
  this.onMoveCursorForwardByWord,
  this.onMoveCursorBackwardByWord,
  this.onSetSelection,
  this.onDidGainAccessibilityFocus,
  this.onDidLoseAccessibilityFocus,
  this.onDismiss,
  this.customSemanticsActions,
});