I am facing a problem when working with flutter-image. I can render the image(s) from my device, but not the image(s) from the Internet!
I have to mention that I put the code in the androidManifest file to get permission for the internet as well.
But it does not work. Here is my code from the flutter documentation:
import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { var title = 'Web Images'; return MaterialApp( title: title, home: Scaffold( appBar: AppBar( title: Text(title), ), body: Image.network( 'https://picsum.photos/250?image=9', ), ), ); } } I can't understand what the problem is! It doesn't show any errors or throw any exceptions. The image simply does not appear on the screen.
Is there anything I need to do to get the image rendered from the Internet or using url?


flutter run --releaseso if yes then check inAndroidManifest.xmlyou might have misplaced internet permissions. Also, make sure that the internet is working on the device/emulator.