accessibilityRole property

String get accessibilityRole

Optional accessibility role.

This defaults to the widget's runtime type and can be overridden to provide a stable role for a11y tooling.

Implementation

String get accessibilityRole => runtimeType.toString();