CPDFPageThumbnailSource.file constructor

const CPDFPageThumbnailSource.file(
  1. String filePath, {
  2. String password = '',
})

Opens filePath for rendering and closes it after each render.

Implementation

const CPDFPageThumbnailSource.file(
  String filePath, {
  String password = '',
}) : this._(filePath: filePath, password: password);