1Image.network(
2 'https://previews.123rf.com/images/blueringmedia/blueringmedia1701/blueringmedia170100692/69125003-colorful-kite-flying-in-blue-sky-illustration.jpg',
3 loadingBuilder: (BuildContext context, Widget child,
4 ImageChunkEvent loadingProgress) {
5 if (loadingProgress == null) return child;
6 return Center(
7 child: CircularProgressIndicator(
8 value: loadingProgress.expectedTotalBytes != null
9 ? loadingProgress.cumulativeBytesLoaded /
10 loadingProgress.expectedTotalBytes
11 : null,
12 ),
13 );
14 },
15 ),
16