SemanticsFlag class
A Boolean value that can be associated with a semantics node.
Properties
Methods
-
toString(
) → String - Returns a string representation of this object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
other) → bool -
The equality operator. [...]
inherited
Static Properties
- values → Map<int, SemanticsFlag>
-
The possible semantics flags. [...]
final
Constants
- hasCheckedState → const SemanticsFlag
-
The semantics node has the quality of either being "checked" or "unchecked". [...]
const SemanticsFlag._(_kHasCheckedStateIndex)
- hasEnabledState → const SemanticsFlag
-
The semantics node has the quality of either being "enabled" or
"disabled". [...]
const SemanticsFlag._(_kHasEnabledStateIndex)
- isButton → const SemanticsFlag
-
Whether the semantic node represents a button. [...]
const SemanticsFlag._(_kIsButtonIndex)
- isChecked → const SemanticsFlag
-
Whether a semantics node that
hasCheckedState
is checked. [...]const SemanticsFlag._(_kIsCheckedIndex)
- isEnabled → const SemanticsFlag
-
Whether a semantic node that
hasEnabledState
is currently enabled. [...]const SemanticsFlag._(_kIsEnabledIndex)
- isFocused → const SemanticsFlag
-
Whether the semantic node currently holds the user's focus. [...]
const SemanticsFlag._(_kIsFocusedIndex)
- isInMutuallyExclusiveGroup → const SemanticsFlag
-
Whether a semantic node is in a mutually exclusive group. [...]
const SemanticsFlag._(_kIsInMutuallyExclusiveGroupIndex)
- isSelected → const SemanticsFlag
-
Whether a semantics node is selected. [...]
const SemanticsFlag._(_kIsSelectedIndex)
- isTextField → const SemanticsFlag
-
Whether the semantic node represents a text field. [...]
const SemanticsFlag._(_kIsTextFieldIndex)