Use networkimage

This commit is contained in:
Christian Pauly 2020-02-23 11:20:25 +01:00
parent ea61af60d2
commit ec27da0a2c

View file

@ -37,7 +37,7 @@ class ImageViewer extends StatelessWidget {
),
body: PhotoView(
loadingBuilder: (c, i) => Center(child: CircularProgressIndicator()),
imageProvider: CachedNetworkImageProvider(
imageProvider: NetworkImage(
url,
),
),