Flutter_cached_network_image: Update UUID version

Created on 8 Aug 2018  ยท  7Comments  ยท  Source: Baseflow/flutter_cached_network_image

I have same issue
https://github.com/flutter/flutter/issues/20039

Error: Getter not found: 'PI'.
compiler message:   static final TAU = 2*PI;

Most helpful comment

Use:

dependencies:
  cached_network_image:
    git: https://github.com/Cretezy/flutter_cached_network_image.git

All 7 comments

I have same issue. Please upgrade uuid lib. Tks

likewise

Same issue. This leaves this lib incompatible with flutter's latest version

There seems to be a uuid version problem with flutter_cache_manager (the underlying mechanism used by flutter_cached_network_image) here: https://github.com/renefloor/flutter_cache_manager/blob/master/pubspec.yaml

Lets also raise awareness to update the cache manager.

Use:

dependencies:
  cached_network_image:
    git: https://github.com/Cretezy/flutter_cached_network_image.git

@Cretezy
_cacheData is null sometimes:

image

I/flutter ( 9513): โ•โ•โ•ก EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE โ•žโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
I/flutter ( 9513): The following NoSuchMethodError was thrown resolving an image codec:
I/flutter ( 9513): The method 'containsKey' was called on null.
I/flutter ( 9513): Receiver: null
I/flutter ( 9513): Tried calling: containsKey("http://xx.com/demo.jpg")
I/flutter ( 9513): 
I/flutter ( 9513): When the exception was thrown, this was the stack:
I/flutter ( 9513): #0      Object.noSuchMethod (dart:core/runtime/libobject_patch.dart:47:5)
I/flutter ( 9513): #1      CacheManager.getFile (package:flutter_cache_manager/flutter_cache_manager.dart:191:21)
I/flutter ( 9513): <asynchronous suspension>
I/flutter ( 9513): #2      CachedNetworkImageProvider._loadAsync (package:cached_network_image/cached_network_image.dart:469:35)
I/flutter ( 9513): <asynchronous suspension>
I/flutter ( 9513): #3      CachedNetworkImageProvider.load (package:cached_network_image/cached_network_image.dart:459:16)

@Shu-Ji "_cacheData is null sometimes" I just happened to have fixed this as well.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nashfive picture nashfive  ยท  5Comments

creativecreatorormaybenot picture creativecreatorormaybenot  ยท  4Comments

digitaldangal picture digitaldangal  ยท  5Comments

flutteradv picture flutteradv  ยท  6Comments

BerndWessels picture BerndWessels  ยท  6Comments