SemanticsFlag class
A Boolean value that can be associated with a semantics node.
Properties
Methods
-
toString(
) → String -
Returns a string representation of this object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
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)
- hasImplicitScrolling → const SemanticsFlag
-
Whether the platform can scroll the semantics node when the user attempts
to move focus to an offscreen child. [...]
const SemanticsFlag._(_kHasImplicitScrollingIndex)
- hasToggledState → const SemanticsFlag
-
The semantics node has the quality of either being "on" or "off". [...]
const SemanticsFlag._(_kHasToggledStateIndex)
- 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)
- isHeader → const SemanticsFlag
-
Whether a semantic node is a header that divides content into sections. [...]
const SemanticsFlag._(_kIsHeaderIndex)
- isHidden → const SemanticsFlag
-
Whether the semantics node is considered hidden. [...]
const SemanticsFlag._(_kIsHiddenIndex)
- isImage → const SemanticsFlag
-
Whether the semantics node represents an image. [...]
const SemanticsFlag._(_kIsImageIndex)
- isInMutuallyExclusiveGroup → const SemanticsFlag
-
Whether a semantic node is in a mutually exclusive group. [...]
const SemanticsFlag._(_kIsInMutuallyExclusiveGroupIndex)
- isLiveRegion → const SemanticsFlag
-
Whether the semantics node is a live region. [...]
const SemanticsFlag._(_kIsLiveRegionIndex)
- isObscured → const SemanticsFlag
-
Whether the value of the semantics node is obscured. [...]
const SemanticsFlag._(_kIsObscuredIndex)
- 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)
- isToggled → const SemanticsFlag
-
If true, the semantics node is "on". If false, the semantics node is
"off". [...]
const SemanticsFlag._(_kIsToggledIndex)
- namesRoute → const SemanticsFlag
-
Whether the semantics node label is the name of a visually distinct
route. [...]
const SemanticsFlag._(_kNamesRouteIndex)
- scopesRoute → const SemanticsFlag
-
Whether the semantics node is the root of a subtree for which a route name
should be announced. [...]
const SemanticsFlag._(_kScopesRouteIndex)
-
values
→ const Map<
int, SemanticsFlag> -
The possible semantics flags. [...]
const <int, SemanticsFlag> {_kHasCheckedStateIndex : hasCheckedState, _kIsCheckedIndex : isChecked, _kIsSelectedIndex : isSelected, _kIsButtonIndex : isButton, _kIsTextFieldIndex : isTextField, …