pop(Route route, Route? previousRoute) { if (_stack.isEmpty) { return; } Page? page = _findPage(route); if (page != null) { _task.addpop(page, page.previous); } _removeAllAfter(page); }