back<T> method
Pops the current route if possible.
Optionally returns a result to the previous route.
Implementation
Future<void> back<T>([T? result]) async {
if (navigator.canPop()) navigator.pop<T>(result);
}
Pops the current route if possible.
Optionally returns a result to the previous route.
Future<void> back<T>([T? result]) async {
if (navigator.canPop()) navigator.pop<T>(result);
}