imageCache top-level property

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.

Implementation

ImageCache get imageCache => PaintingBinding.instance.imageCache;