Chris

Results 3 comments of Chris

navigator带方法回调,搞定

pushResult(ctx.context, route, (result) { //todo }, arguments: {'xx': xx}); static void pushResult(BuildContext context, String routerName, Function(Object) function, {Object arguments}) { unfocus(); Navigator.pushNamed(context, routerName, arguments: arguments).then((dynamic result) { if (result ==...