[英]How to pass string from app to another in flutter?
I find this package called uni_links , it may help me,我发现这个包叫做uni_links ,它可能对我有帮助,
I'm using deviceapps package to open my second app.我正在使用deviceapps包打开我的第二个应用程序。
Thank you.谢谢你。
Using this library, share_intent you can share the text with other apps.使用这个库, share_intent你可以与其他应用程序共享文本。 In order to receiver share intents, the other app must be built with receive_share_intent .
为了接收者共享意图,另一个应用程序必须使用receive_share_intent构建。
For example: You can use Share.share('check out my website https://example.com');
例如:您可以使用
Share.share('check out my website https://example.com');
to share text with text sharing apps like WhatsApp.与 WhatsApp 等文本共享应用程序共享文本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.