pushNamed method

Future pushNamed(
  1. String name
)

Implementation

Future pushNamed(String name) async {
  if (!await _validate(name)) {
    return;
  }
  _routeStack.add(name);
  notifyListeners();
}