Skip to content

Commit d6a3cd6

Browse files
committed
logs
1 parent 7387671 commit d6a3cd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/flutter/lib/src/painting/_network_image_io.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ class NetworkImage extends image_provider.ImageProvider<image_provider.NetworkIm
164164
// have had a chance to track the key in the cache at all.
165165
// Schedule a microtask to give the cache a chance to add the key.
166166
scheduleMicrotask(() {
167+
print('hi key=$key keys=${PaintingBinding.instance.imageCache.keys} '
168+
'keystoevcit=${image_provider.ResizeImage.keysFor(PaintingBinding.instance.imageCache.keys, key)}');
167169
image_provider.ResizeImage.keysFor(PaintingBinding.instance.imageCache.keys, key)
168170
.forEach(PaintingBinding.instance.imageCache.evict);
169171
});

0 commit comments

Comments
 (0)