index property

void index=(int x)

Implementation

static set index(int x) {
  _index = x;
  if (hideBadgeOnPageChanged) makeBadgeVisible(x, false);
  if (_navbarStackHistory.contains(x)) {
    _navbarStackHistory.remove(x);
  }
  _navbarStackHistory.add(x);
  _notifyIndexChangeListeners(x);
  _singleton.notify();
}