SemanticsFlag class Null safety

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

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
The numerical value for this flag.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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

Constants

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