setPage method

void setPage(
  1. Key key
)

Implementation

void setPage(Key key) {
  if (key != currentPageKey) {
    _content._currentPageKey = key;
    updateNotifier.update();
  }
}