Use networkimage
This commit is contained in:
parent
ea61af60d2
commit
ec27da0a2c
|
@ -37,7 +37,7 @@ class ImageViewer extends StatelessWidget {
|
|||
),
|
||||
body: PhotoView(
|
||||
loadingBuilder: (c, i) => Center(child: CircularProgressIndicator()),
|
||||
imageProvider: CachedNetworkImageProvider(
|
||||
imageProvider: NetworkImage(
|
||||
url,
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue