PdfReader constructor

const PdfReader({
  1. Key? key,
  2. required String pdfPath,
  3. PdfControllerPinch? controller,
  4. Axis scrollDirection = Axis.vertical,
  5. void onPageChanged(
    1. int
    )?,
  6. void onDocumentLoaded(
    1. PdfDocument
    )?,
  7. void onDocumentError(
    1. Object
    )?,
})

Implementation

const PdfReader({
  super.key,
  required this.pdfPath,
  this.controller,
  this.scrollDirection = Axis.vertical,
  this.onPageChanged,
  this.onDocumentLoaded,
  this.onDocumentError,
});