SemanticsProperties constructor

const SemanticsProperties({bool enabled, bool checked, bool selected, bool toggled, bool button, bool header, bool textField, bool focused, bool inMutuallyExclusiveGroup, bool hidden, bool obscured, bool scopesRoute, bool namesRoute, bool image, bool liveRegion, String label, String value, String increasedValue, String decreasedValue, String hint, SemanticsHintOverrides hintOverrides, TextDirection textDirection, SemanticsSortKey sortKey, VoidCallback onTap, VoidCallback onLongPress, VoidCallback onScrollLeft, VoidCallback onScrollRight, VoidCallback onScrollUp, VoidCallback onScrollDown, VoidCallback onIncrease, VoidCallback onDecrease, VoidCallback onCopy, VoidCallback onCut, VoidCallback onPaste, MoveCursorHandler onMoveCursorForwardByCharacter, MoveCursorHandler onMoveCursorBackwardByCharacter, MoveCursorHandler onMoveCursorForwardByWord, MoveCursorHandler onMoveCursorBackwardByWord, SetSelectionHandler onSetSelection, VoidCallback onDidGainAccessibilityFocus, VoidCallback onDidLoseAccessibilityFocus, VoidCallback onDismiss, Map<CustomSemanticsAction, VoidCallback> customSemanticsActions })

Creates a semantic annotation.

Implementation

const SemanticsProperties({
  this.enabled,
  this.checked,
  this.selected,
  this.toggled,
  this.button,
  this.header,
  this.textField,
  this.focused,
  this.inMutuallyExclusiveGroup,
  this.hidden,
  this.obscured,
  this.scopesRoute,
  this.namesRoute,
  this.image,
  this.liveRegion,
  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,
});