role property

String? get role

Implementation

String? get role => _role;
  1. @Input()
set role (String? value)

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;
}