effectiveIndexOf method

int effectiveIndexOf(
  1. NavigationPaneItem item
)

Get the effective index of the navigation pane.

Implementation

int effectiveIndexOf(NavigationPaneItem item) {
  if (item is! PaneItem) return -1;
  return effectiveItems.indexOf(item);
}