PdfImagePage.fromPath constructor

PdfImagePage.fromPath(
  1. String filePath,
  2. PagePosition positionRect
)

Implementation

factory PdfImagePage.fromPath(String filePath, PagePosition positionRect) {
  return PdfImagePage(
      imageUri: Uri.file(filePath),
      position: positionRect,
      zOrder: PageZOrder.foreground);
}