offBack<T> function
void
offBack<T>([
- T? result
关闭SnackBars、Dialogs、BottomSheets或任何你通常会用Navigator.pop(context)关闭的东西
Implementation
void offBack<T>([T? result]) {
if (routesInterceptOffBack != null) {
return routesInterceptOffBack!();
}
return Get.back<T>(result: result);
}