canGoBack method
Whether navigator can go back to a page.
Implementation
bool canGoBack() {
if (_isDisposed) {
throw Exception('Cannot call canGoBack() after state is disposed off.');
}
return _renderElement!.canOpenPreviousPath();
}
Whether navigator can go back to a page.
bool canGoBack() {
if (_isDisposed) {
throw Exception('Cannot call canGoBack() after state is disposed off.');
}
return _renderElement!.canOpenPreviousPath();
}