How do I open a web browser (URL) from my Flutter code?

前端 未结 7 1743
时光说笑
时光说笑 2020-12-14 05:12

I am building a Flutter app, and I\'d like to open a URL into a web browser or browser window (in response to a button tap). How can I do this?

7条回答
  •  难免孤独
    2020-12-14 06:03

    After some search, this issue can be solved via instructions listed here: https://groups.google.com/forum/#!topic/flutter-dev/J3ujgdOuG98

    The above UrlLauncher is no longer usable.

提交回复
热议问题