PdfState constructor

const PdfState({
  1. String title = '',
  2. String pdfPath = '',
  3. bool isLoading = true,
  4. String? errorMessage,
})

Creates a PDF state with optional parameters @param title The display title of the PDF @param pdfPath The file system path to the PDF @param isLoading Loading state indicator @param errorMessage Optional error message if loading fails

Implementation

const PdfState({
  this.title = '',
  this.pdfPath = '',
  this.isLoading = true,
  this.errorMessage,
});