role property

  1. @override
String? role

Specifies the the type defining a user interface element. Enriches the semantics of markup and gives assistive technologies information about how to handle each element.

See: www.w3.org/TR/wai-aria/usage#usage_intro

Implementation

@override
String? get role => (props[_$key__role___$AriaPropsMixin] ?? null) as String?;
  1. @override
void role=(String? value)

Specifies the the type defining a user interface element. Enriches the semantics of markup and gives assistive technologies information about how to handle each element.

See: www.w3.org/TR/wai-aria/usage#usage_intro

Implementation

@override
set role(String? value) => props[_$key__role___$AriaPropsMixin] = value;