setNextView method

void setNextView({
  1. int startIndex = 0,
})

Sets the next view state for the table, this can be used to go back to any start view index (page), will trigger a reload

Implementation

void setNextView({int startIndex = 0}) {
  forceRemoteReload = true;
  nextStartIndex = startIndex;
  notifyListeners();
}