bool isCurrent

Whether this route is the top-most route on the navigator.

If this is true, then isActive is also true.

Source

bool get isCurrent {
  if (_navigator == null)
    return false;
  assert(_navigator._history.contains(this));
  return _navigator._history.last == this;
}