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}

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 = 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,
}