
























通过别名导航:
var result = await Get.toNamed(Routes.WEB_VIEW, arguments: {
"url": item?.link ?? "",
"index": index,
"collect": item?.collect ?? false,
});返回值: Get.back(result: {"collect": collect.value}); 完整代码:
() async {
/// 导航到新的界面
var result = await Get.toNamed(Routes.WEB_VIEW, arguments: {
"url": item?.link ?? "",
"index": index,
"collect": item?.collect ?? false,
});
/// 接收返回值
bool collect = result["collect"];
}此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。