ImageCache imageCache

The singleton that implements the Flutter framework's image cache.

The cache is used internally by ImageProvider and should generally not be accessed directly.

The image cache is created during startup by the PaintingBinding's PaintingBinding.createImageCache method.

Source

ImageCache get imageCache => PaintingBinding.instance.imageCache;