From 0e77467d8dcfa41091e7749690e35f1ec97267e8 Mon Sep 17 00:00:00 2001 From: Levent Date: Tue, 2 Nov 2021 17:55:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=89=AF=E5=B1=8F=E5=8F=91?= =?UTF-8?q?=E9=80=81=E5=88=B0=E4=B8=BB=E5=B1=8F=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index 1771158..a6f586d 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -109,7 +109,7 @@ class _SubAppState extends State { child: Text('发送数据给主屏'), onPressed: () { final randomData = Random().nextInt(100).toString(); - SubScreenPlugin.sendMsgToViceScreen("text", + SubScreenPlugin.sendMsgToMainScreen("text", params: {"num": randomData}); }, ),