简体   繁体   中英

How to give internet connection to flutter web pages?

Pages in flutter web keeps on loading but noting renders,

do not respond to api calls as well, seems having internet connection issue. i have tried A lot of issue how to resolve it? finally found an exception as

flutter has exited unexpectedly: "Bad state: StreamSink is closed

If it's due to the internet issue..Make sure to include below line in AndroidManifest.xml file.

<uses-permission android:name="android.permission.INTERNET"/>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM