2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-30 19:00:49 +00:00

Fix network cache images

- Changed from using flutter_advanced_networkimage to cached_network_image
- flutter_advanced_networkimage is now outdated
- cached_network_image is the pseudo official library
This commit is contained in:
Oliver Walters
2021-01-20 22:35:44 +11:00
parent 7ba1fc9328
commit b4710b56e3
9 changed files with 251 additions and 126 deletions

@ -243,10 +243,7 @@ class StockList extends StatelessWidget {
return ListTile(
title: Text("${item.partName}"),
subtitle: Text("${item.partDescription}"),
leading: Image(
image: InvenTreeAPI().getImage(item.partThumbnail),
width: 48,
),
leading: InvenTreeAPI().getImage(item.partThumbnail),
trailing: Text("${item.displayQuantity}",
style: TextStyle(fontWeight: FontWeight.bold),
),