toNamed<T> function
导航到新的页面
Implementation
Future<T?>? toNamed<T>(
String page, {
dynamic arguments,
int? id,
bool preventDuplicates = true,
Map<String, String>? parameters,
}) {
return Get.toNamed<T>(page,
arguments: arguments,
id: id,
preventDuplicates: preventDuplicates,
parameters: parameters);
}