AccessibilityInformation class
Accessibility information which controls screen reader behavior.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- AccessibilityInformation.new({String? label, String? role})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
Available on AccessibilityInformation, provided by the AccessibilityInformation$Typings extension
Label to be read out by a screen reader once the item has focus.no setter - role → String?
-
Available on AccessibilityInformation, provided by the AccessibilityInformation$Typings extension
Role of the widget which defines how a screen reader interacts with it. The role should be set in special cases when for example a tree-like element behaves like a checkbox. If role is not specified the editor will pick the appropriate role automatically. More about aria roles can be found here https://w3c.github.io/aria/#widget_rolesno 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