offAndToNamed<T> function
关闭当前页面并进入下一个界面
Implementation
Future<T?>? offAndToNamed<T>(
String page, {
dynamic arguments,
int? id,
dynamic result,
Map<String, String>? parameters,
}) {
return Get.offAndToNamed<T>(page,
arguments: arguments, id: id, result: result, parameters: parameters);
}