ArcoImagePreviewConfig constructor

const ArcoImagePreviewConfig({
  1. bool maskClosable = true,
  2. bool closable = true,
  3. bool infinite = true,
  4. bool escToExit = true,
  5. List<double> scales = ArcoImageTokens.previewScales,
})

创建预览配置。

Implementation

const ArcoImagePreviewConfig({
  this.maskClosable = true,
  this.closable = true,
  this.infinite = true,
  this.escToExit = true,
  this.scales = ArcoImageTokens.previewScales,
});