CPDFConfiguration constructor

CPDFConfiguration({
  1. ModeConfig modeConfig = const ModeConfig(initialViewMode: CPreviewMode.viewer),
  2. ToolbarConfig toolbarConfig = const ToolbarConfig(),
  3. ReaderViewConfig readerViewConfig = const ReaderViewConfig(),
  4. CPDFAnnotationsConfig annotationsConfig = const CPDFAnnotationsConfig(),
  5. CPDFContentEditorConfig contentEditorConfig = const CPDFContentEditorConfig(),
  6. CPDFFormsConfig formsConfig = const CPDFFormsConfig(),
})

Implementation

CPDFConfiguration(
    {this.modeConfig = const ModeConfig(initialViewMode: CPreviewMode.viewer),
    this.toolbarConfig = const ToolbarConfig(),
    this.readerViewConfig = const ReaderViewConfig(),
    this.annotationsConfig = const CPDFAnnotationsConfig(),
    this.contentEditorConfig = const CPDFContentEditorConfig(),
    this.formsConfig = const CPDFFormsConfig()});