itemAriaChecked method

  1. @visibleForTemplate
String? itemAriaChecked(
  1. MenuItem item
)

Returns the value for a menu item's aria-checked attribute value.

Implementation

@visibleForTemplate
String? itemAriaChecked(MenuItem item) =>
    (item is SelectableMenuItem) ? item.ariaChecked : null;