Don’t Panic, Panic is paralyzing. Here I am with the solutions that will solve If your network image is not showing in your flutter project in android studio.
Could Be This
- First please check your internet connection. it’s okay and working.
- Second Check The Code Again, No Typo Or Wrong Code.
Sample Project / Sample Code:
void main() => runApp(
child: Text('i am rich'),
Check and Match your code with above code snippet and If it’s still not loading then please add this two lines in your
Solution Of Your Problem:
You have to place these two lines of code after the application scope.
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Note: Make Sure after you added the lines please give a restart to your android studio and rerun your project I hope it will solve your problem and you will be able to see your desired output.
Environment Of Development:
- Android Studio 3.5.3
- AVD: nexus 6 API 28 Android 9.0
Congratulations. You have solved your problem. If you are looking more Flutter Related Articles and Hack please Visite FLUTTER page. We have listed down all of our articles and many more are coming.
I hope you like this article. See you in the next articles when you will revisit me again. Bye…
I love to explore new technologies. If you like my tutorials please share your thoughts about my work.
Check out my YouTube Channel For Video Tutorials.
To Hire Me Please Contact Me Through Social Media or https:www.amialif.com
If you want to help others by doing donation please Donate To These Charities.
You also can connect with me via social media. Thanks