MiniProgramGalleryPolicy constructor

const MiniProgramGalleryPolicy({
  1. bool enabled = false,
  2. int maxImages = 9,
  3. int maxImageBytes = 20 * 1024 * 1024,
  4. int maxTotalBytes = 50 * 1024 * 1024,
})

Implementation

const MiniProgramGalleryPolicy({
  this.enabled = false,
  this.maxImages = 9,
  this.maxImageBytes = 20 * 1024 * 1024,
  this.maxTotalBytes = 50 * 1024 * 1024,
});