goTo method

void goTo(
  1. int index
)

跳页

Implementation

void goTo(int index) {
  nextType = 0;
  goToIndex = index;
  notifyListeners();
}