clearWhere method
Clear all routes in the stack that match the predicate
Implementation
@override
void clearWhere(bool Function(DartBoardPath path) predicate) {
navStack.removeWhere((path) => predicate(path) && path.path != '/');
notifyListeners();
}