offNamed<T> function
进入下一个页面,但没有返回上一个页面的选项(用于SplashScreens,登录页面等)
Implementation
Future<T?>? offNamed<T>(
String page, {
dynamic arguments,
int? id,
bool preventDuplicates = true,
Map<String, String>? parameters,
}) {
return Get.offNamed<T>(page,
arguments: arguments,
id: id,
preventDuplicates: preventDuplicates,
parameters: parameters);
}