InlineImageCachePolicy constructor

const InlineImageCachePolicy({
  1. int maxEntries = 512,
  2. int maxBytes = 32 * 1024 * 1024,
})

Implementation

const InlineImageCachePolicy({
  this.maxEntries = 512,
  this.maxBytes = 32 * 1024 * 1024,
}) : assert(maxEntries > 0),
     assert(maxBytes > 0);