PspdfkitWidget constructor

const PspdfkitWidget({
  1. Key? key,
  2. required String documentPath,
  3. dynamic configuration,
  4. PspdfkitWidgetCreatedCallback? onPspdfkitWidgetCreated,
  5. PdfDocumentLoadedCallback? onPdfDocumentLoaded,
  6. PdfDocumentLoadFailedCallback? onPdfDocumentError,
  7. PageChangedCallback? onPageChanged,
})

Implementation

const PspdfkitWidget({
  Key? key,
  required this.documentPath,
  this.configuration,
  this.onPspdfkitWidgetCreated,
  this.onPdfDocumentLoaded,
  this.onPdfDocumentError,
  this.onPageChanged,
}) : super(key: key);