UDocViewSettings constructor

const UDocViewSettings({
  1. UDocScrollMode scrollMode = UDocScrollMode.verticalContinuous,
  2. UDocSpread spread = UDocSpread.none,
  3. UDocDirection direction = UDocDirection.ltr,
  4. UDocFit fit = UDocFit.width,
  5. UDocColorMode colorMode = UDocColorMode.normal,
  6. double zoom = 1,
  7. double minZoom = 0.25,
  8. double maxZoom = 12,
  9. double dim = 0,
  10. double pageGap = 12,
  11. bool cropMargins = false,
  12. double tileThreshold = 2.5,
  13. double maxRenderScale = 4,
  14. int renderAhead = 2,
  15. bool keepScreenOn = false,
  16. bool showAnnotations = true,
  17. bool showForms = true,
  18. List<double>? customMatrix,
})

Implementation

const UDocViewSettings({
  this.scrollMode = UDocScrollMode.verticalContinuous,
  this.spread = UDocSpread.none,
  this.direction = UDocDirection.ltr,
  this.fit = UDocFit.width,
  this.colorMode = UDocColorMode.normal,
  this.zoom = 1,
  this.minZoom = 0.25,
  this.maxZoom = 12,
  this.dim = 0,
  this.pageGap = 12,
  this.cropMargins = false,
  this.tileThreshold = 2.5,
  this.maxRenderScale = 4,
  this.renderAhead = 2,
  this.keepScreenOn = false,
  this.showAnnotations = true,
  this.showForms = true,
  this.customMatrix,
});