CPDFReaderViewConfig constructor

CPDFReaderViewConfig({
  1. bool linkHighlight = true,
  2. bool formFieldHighlight = true,
  3. CPDFDisplayMode displayMode = CPDFDisplayMode.singlePage,
  4. bool continueMode = true,
  5. bool verticalMode = true,
  6. bool cropMode = false,
  7. CPDFThemes themes = CPDFThemes.light,
  8. bool enableSliderBar = true,
  9. bool enablePageIndicator = true,
  10. int pageSpacing = 10,
  11. double pageScale = 1.0,
  12. bool pageSameWidth = true,
  13. List<int> margins = const [0, 0, 0, 0],
  14. bool enableMinScale = true,
  15. bool annotationsVisible = true,
  16. bool enableCreateEditTextInput = true,
  17. bool enableCreateImagePickerDialog = true,
  18. bool enableDoubleTapZoom = false,
  19. CPDFUiStyleConfig? uiStyle,
})

Implementation

CPDFReaderViewConfig({
  this.linkHighlight = true,
  this.formFieldHighlight = true,
  this.displayMode = CPDFDisplayMode.singlePage,
  this.continueMode = true,
  this.verticalMode = true,
  this.cropMode = false,
  this.themes = CPDFThemes.light,
  this.enableSliderBar = true,
  this.enablePageIndicator = true,
  this.pageSpacing = 10,
  this.pageScale = 1.0,
  this.pageSameWidth = true,
  this.margins = const [0, 0, 0, 0],
  this.enableMinScale = true,
  this.annotationsVisible = true,
  this.enableCreateEditTextInput = true,
  this.enableCreateImagePickerDialog = true,
  this.enableDoubleTapZoom = false,
  CPDFUiStyleConfig? uiStyle,
}) : uiStyle = uiStyle ?? CPDFUiStyleConfig.create();