values constant

Map<int, SemanticsFlag> const values = const <int, SemanticsFlag>{_kHasCheckedStateIndex : hasCheckedState, _kIsCheckedIndex : isChecked, _kIsSelectedIndex : isSelected, _kIsButtonIndex : isButton, _kIsTextFieldIndex : isTextField, _kIsFocusedIndex : isFocused, _kHasEnabledStateIndex : hasEnabledState, _kIsEnabledIndex : isEnabled, _kIsInMutuallyExclusiveGroupIndex : isInMutuallyExclusiveGroup, _kIsHeaderIndex : isHeader, _kIsObscuredIndex : isObscured, _kScopesRouteIndex : scopesRoute, _kNamesRouteIndex : namesRoute, _kIsHiddenIndex : isHidden, _kIsImageIndex : isImage, _kIsLiveRegionIndex : isLiveRegion, _kHasToggledStateIndex : hasToggledState, _kIsToggledIndex : isToggled, _kHasImplicitScrollingIndex : hasImplicitScrolling, _kIsMultilineIndex : isMultiline, _kIsReadOnlyIndex : isReadOnly, _kIsFocusableIndex : isFocusable, _kIsLinkIndex : isLink}

The possible semantics flags.

The map's key is the index of the flag and the value is the flag itself.

Implementation

static const Map<int, SemanticsFlag> values = <int, SemanticsFlag>{
  _kHasCheckedStateIndex: hasCheckedState,
  _kIsCheckedIndex: isChecked,
  _kIsSelectedIndex: isSelected,
  _kIsButtonIndex: isButton,
  _kIsTextFieldIndex: isTextField,
  _kIsFocusedIndex: isFocused,
  _kHasEnabledStateIndex: hasEnabledState,
  _kIsEnabledIndex: isEnabled,
  _kIsInMutuallyExclusiveGroupIndex: isInMutuallyExclusiveGroup,
  _kIsHeaderIndex: isHeader,
  _kIsObscuredIndex: isObscured,
  _kScopesRouteIndex: scopesRoute,
  _kNamesRouteIndex: namesRoute,
  _kIsHiddenIndex: isHidden,
  _kIsImageIndex: isImage,
  _kIsLiveRegionIndex: isLiveRegion,
  _kHasToggledStateIndex: hasToggledState,
  _kIsToggledIndex: isToggled,
  _kHasImplicitScrollingIndex: hasImplicitScrolling,
  _kIsMultilineIndex: isMultiline,
  _kIsReadOnlyIndex: isReadOnly,
  _kIsFocusableIndex: isFocusable,
  _kIsLinkIndex: isLink,
}