SemanticsRole enum
An enum to describe the role for a semantics node.
The roles are translated into native accessibility roles in each platform.
Values
- none → const SemanticsRole
-
Does not represent any role.
- tab → const SemanticsRole
-
A tab button.
See also:
- tabBar, which is the role for containers of tab buttons.
- tabBar → const SemanticsRole
-
Contains tab buttons.
See also:
- tab, which is the role for tab buttons.
- tabPanel → const SemanticsRole
-
The main display for a tab.
- dialog → const SemanticsRole
-
A pop up dialog.
- alertDialog → const SemanticsRole
-
An alert dialog.
- table → const SemanticsRole
-
A table structure containing data arranged in rows and columns.
See also:
- cell, row, columnHeader for table related roles.
- cell → const SemanticsRole
-
A cell in a table that does not contain column or row header information.
See also:
- table,row, columnHeader for table related roles.
- row → const SemanticsRole
-
A row of cells or or columnHeaders in a table.
See also:
- table ,cell,columnHeader for table related roles.
- columnHeader → const SemanticsRole
-
A cell in a table contains header information for a column.
See also:
- searchBox → const SemanticsRole
-
An input field for users to enter search terms.
- dragHandle → const SemanticsRole
-
A control used for dragging across content.
For example, the drag handle of ReorderableList.
- spinButton → const SemanticsRole
-
A control to cycle through content on tap.
For example, the next and previous month button of a CalendarDatePicker.
- comboBox → const SemanticsRole
-
A input field with a dropdown list box attached.
For example, a
DropDownMenu
-
Contains a list of menus.
For example, a MenuBar.
-
A button that opens a dropdown that contains multiple menuItems.
For example, a MenuAnchor or
DropDownButton
. - list → const SemanticsRole
-
A container to display multiple listItems in vertical or horizontal layout.
For example, a
LisView
or Column. - listItem → const SemanticsRole
-
An item in a list.
- form → const SemanticsRole
-
An area that represents a form.
- tooltip → const SemanticsRole
-
A pop up displayed when hovering over a component to provide contextual explanation.
- loadingSpinner → const SemanticsRole
-
A graphic object that spins to indicate the application is busy.
For example, a CircularProgressIndicator.
- progressBar → const SemanticsRole
-
A graphic object that shows progress with a numeric number.
For example, a LinearProgressIndicator.
- hotKey → const SemanticsRole
-
A keyboard shortcut field that allows the user to enter a combination or sequence of keystrokes.
For example, Shortcuts.
- radioGroup → const SemanticsRole
-
A group of radio buttons.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
SemanticsRole> - A constant List of the values in this enum, in order of their declaration.