CPDFReaderViewConfig constructor
CPDFReaderViewConfig({
- bool linkHighlight = true,
- bool formFieldHighlight = true,
- CPDFDisplayMode displayMode = CPDFDisplayMode.singlePage,
- bool continueMode = true,
- bool verticalMode = true,
- bool cropMode = false,
- CPDFThemes themes = CPDFThemes.light,
- bool enableSliderBar = true,
- bool enablePageIndicator = true,
- int pageSpacing = 10,
- double pageScale = 1.0,
- bool pageSameWidth = true,
- List<
int> margins = const [0, 0, 0, 0], - bool enableMinScale = true,
- bool annotationsVisible = true,
- bool enableCreateEditTextInput = true,
- bool enableCreateImagePickerDialog = true,
- bool enableDoubleTapZoom = false,
- 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();