I have same issue
https://github.com/flutter/flutter/issues/20039
Error: Getter not found: 'PI'.
compiler message: static final TAU = 2*PI;
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:

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.
Most helpful comment
Use: