nextRoute static method

bool nextRoute(
  1. String? path
)

Supply the next route

Implementation

static bool nextRoute(String? path) {
  //
  final next = _this!._addPage(path);

  if (next) {
    _calledNextRoute = true;
    _currentConfiguration = AppRoutePath.page(path);
    _this!.notifyListeners();
    _calledNextRoute = false;
  }
  return next;
}