clearHistory method
void
clearHistory()
Clears all pages recorded for goBack.
Implementation
void clearHistory() {
if (_pageHistory.isEmpty) {
return;
}
_pageHistory.clear();
notifyListeners();
}
Clears all pages recorded for goBack.
void clearHistory() {
if (_pageHistory.isEmpty) {
return;
}
_pageHistory.clear();
notifyListeners();
}