isSelected method

bool isSelected(
  1. NavigationPaneItem item
)

Check if the provided item is selected on not.

Implementation

bool isSelected(NavigationPaneItem item) {
  return effectiveIndexOf(item) == selected;
}