cacheAll property
Returns true if all DeviceImage should be cached in the global Flutter imageCache.
Set the maxCacheDimension
to change this to false. For example, to have all
images with either a height or width of <= 800 pixels be cached but
avoid adding anything larger than that set maxCacheDimension
to
800.
Implementation
bool get cacheAll => cacheAtAnySize == maxCacheDimension;