role property
String?
get
role
Implementation
String? get role => _role;
The ARIA role of the dropdown button.
Implementation
@Input()
set role(String? value) {
assert(
ariaRole == null, 'Aria role can only be set before initialization.');
_role = value;
}