HandlesAria class
Custom dropdown item component implements this to indicate that it will handle aria related tasks by itself.
If a custom widget implements this interface, then the parent
- set role = "option"
- generate a unique id for itself, using the parent's ActiveItemModel
- set aria-selected=true, whenever it becomes selected.
Primary use cases for implementing interface is to enable the ability to do custom aria-describedby, or other such a11y related behaviors.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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