remove method

void remove(
  1. String path
)

Removes a route by path.

Implementation

void remove(String path) {
  final pageWrapper = _findPageWrapper(path);
  _pageStack.remove(pageWrapper);
  notifyListeners();
}