loading progress bar in image netwoek code example
Example: loading builder in flutter
Image(
...
frameBuilder: (BuildContext context, Widget child, int frame, bool wasSynchronouslyLoaded) {
return Padding(
padding: EdgeInsets.all(8.0),
child: child,
);
},
loadingBuilder: (BuildContext context, Widget child, ImageChunkEvent loadingProgress) {
return Center(child: child);
},
)