Fade In Image

The fade In Image widget is very useful when loading images from the internet, as it gives a more dynamic look to your app by adding a fade in effect to the images.

First, you have to create a folder for the loading image, it's recommended to put assets as name.

Later you have to declare it on the pubspect.yaml

 assets: 
  - assets/
FadeInImage(
   placeholder: AssetImage("assets/loading.png"),
   image: NetworkImage(URL),
   // you can add other options
   fit: BoxFit.cover,
   );

Last updated