mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-14 03:56:24 +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:
parent
7ba1fc9328
commit
b4710b56e3
9 changed files with 251 additions and 126 deletions
|
|
@ -11,7 +11,6 @@ import 'package:flutter/cupertino.dart';
|
|||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:flutter_advanced_networkimage/provider.dart';
|
||||
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
|
||||
|
||||
class CategoryDisplayWidget extends StatefulWidget {
|
||||
|
|
@ -260,10 +259,7 @@ class PartList extends StatelessWidget {
|
|||
return ListTile(
|
||||
title: Text("${part.name}"),
|
||||
subtitle: Text("${part.description}"),
|
||||
leading: Image(
|
||||
image: InvenTreeAPI().getImage(part.thumbnail),
|
||||
width: 48,
|
||||
),
|
||||
leading: InvenTreeAPI().getImage(part.thumbnail),
|
||||
onTap: () {
|
||||
_openPart(context, part.pk);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue