SemanticsFlag class

A Boolean value that can be associated with a semantics node.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
The numerical value for this flag.
final
name String
A human-readable name for this flag, used for debugging purposes.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

values List<SemanticsFlag>
read-only

Static Methods

fromIndex(int index) SemanticsFlag?

Constants

hasCheckedState → const SemanticsFlag
The semantics node has the quality of either being "checked" or "unchecked".
SemanticsFlag._(_kHasCheckedStateIndex, 'hasCheckedState')
hasEnabledState → const SemanticsFlag
The semantics node has the quality of either being "enabled" or "disabled".
SemanticsFlag._(_kHasEnabledStateIndex, 'hasEnabledState')
hasImplicitScrolling → const SemanticsFlag
Whether the platform can scroll the semantics node when the user attempts to move focus to an offscreen child.
SemanticsFlag._(_kHasImplicitScrollingIndex, 'hasImplicitScrolling')
hasToggledState → const SemanticsFlag
The semantics node has the quality of either being "on" or "off".
SemanticsFlag._(_kHasToggledStateIndex, 'hasToggledState')
isButton → const SemanticsFlag
Whether the semantic node represents a button.
SemanticsFlag._(_kIsButtonIndex, 'isButton')
isChecked → const SemanticsFlag
Whether a semantics node that hasCheckedState is checked.
SemanticsFlag._(_kIsCheckedIndex, 'isChecked')
isCheckStateMixed → const SemanticsFlag
Whether a tristate checkbox is in its mixed state.
SemanticsFlag._(_kIsCheckStateMixedIndex, 'isCheckStateMixed')
isEnabled → const SemanticsFlag
Whether a semantic node that hasEnabledState is currently enabled.
SemanticsFlag._(_kIsEnabledIndex, 'isEnabled')
isFocusable → const SemanticsFlag
Whether the semantic node is able to hold the user's focus.
SemanticsFlag._(_kIsFocusableIndex, 'isFocusable')
isFocused → const SemanticsFlag
Whether the semantic node currently holds the user's focus.
SemanticsFlag._(_kIsFocusedIndex, 'isFocused')
isHeader → const SemanticsFlag
Whether a semantic node is a header that divides content into sections.
SemanticsFlag._(_kIsHeaderIndex, 'isHeader')
isHidden → const SemanticsFlag
Whether the semantics node is considered hidden.
SemanticsFlag._(_kIsHiddenIndex, 'isHidden')
isImage → const SemanticsFlag
Whether the semantics node represents an image.
SemanticsFlag._(_kIsImageIndex, 'isImage')
isInMutuallyExclusiveGroup → const SemanticsFlag
Whether a semantic node is in a mutually exclusive group.
SemanticsFlag._(_kIsInMutuallyExclusiveGroupIndex, 'isInMutuallyExclusiveGroup')
isKeyboardKey → const SemanticsFlag
Whether the semantic node represents a keyboard key.
SemanticsFlag._(_kIsKeyboardKeyIndex, 'isKeyboardKey')
Whether the semantic node is an interactive link.
SemanticsFlag._(_kIsLinkIndex, 'isLink')
isLiveRegion → const SemanticsFlag
Whether the semantics node is a live region.
SemanticsFlag._(_kIsLiveRegionIndex, 'isLiveRegion')
isMultiline → const SemanticsFlag
Whether the value of the semantics node is coming from a multi-line text field.
SemanticsFlag._(_kIsMultilineIndex, 'isMultiline')
isObscured → const SemanticsFlag
Whether the value of the semantics node is obscured.
SemanticsFlag._(_kIsObscuredIndex, 'isObscured')
isReadOnly → const SemanticsFlag
Whether the semantic node is read only.
SemanticsFlag._(_kIsReadOnlyIndex, 'isReadOnly')
isSelected → const SemanticsFlag
Whether a semantics node is selected.
SemanticsFlag._(_kIsSelectedIndex, 'isSelected')
isSlider → const SemanticsFlag
Whether the semantic node represents a slider.
SemanticsFlag._(_kIsSliderIndex, 'isSlider')
isTextField → const SemanticsFlag
Whether the semantic node represents a text field.
SemanticsFlag._(_kIsTextFieldIndex, 'isTextField')
isToggled → const SemanticsFlag
If true, the semantics node is "on". If false, the semantics node is "off".
SemanticsFlag._(_kIsToggledIndex, 'isToggled')
namesRoute → const SemanticsFlag
Whether the semantics node label is the name of a visually distinct route.
SemanticsFlag._(_kNamesRouteIndex, 'namesRoute')
scopesRoute → const SemanticsFlag
Whether the semantics node is the root of a subtree for which a route name should be announced.
SemanticsFlag._(_kScopesRouteIndex, 'scopesRoute')