How do I open an external url in flutter web in new tab or in same tab

后端 未结 5 871
梦如初夏
梦如初夏 2021-02-18 23:16

I have a simple web app I have created with flutter web. I would like to know how I can open new an external url either in a new tab or in the sa

5条回答
  •  无人及你
    2021-02-18 23:31

    https://github.com/flutter/plugins/tree/master/packages/url_launcher/url_launcher_web

    url_launcher has been the solution for android and ios, recently it added support for web.

提交回复
热议问题