UDocViewSettings constructor
const
UDocViewSettings({
- UDocScrollMode scrollMode = UDocScrollMode.verticalContinuous,
- UDocSpread spread = UDocSpread.none,
- UDocDirection direction = UDocDirection.ltr,
- UDocFit fit = UDocFit.width,
- UDocColorMode colorMode = UDocColorMode.normal,
- double zoom = 1,
- double minZoom = 0.25,
- double maxZoom = 12,
- double dim = 0,
- double pageGap = 12,
- bool cropMargins = false,
- double tileThreshold = 2.5,
- double maxRenderScale = 4,
- int renderAhead = 2,
- bool keepScreenOn = false,
- bool showAnnotations = true,
- bool showForms = true,
- 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,
});