PdfState class
State class for managing PDF viewer state Contains information about loading status, errors, and PDF metadata
Constructors
- PdfState.new({String title = '', String pdfPath = '', bool isLoading = true, 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
const
Properties
Methods
-
copyWith(
{String? title, String? pdfPath, bool? isLoading, String? errorMessage}) → PdfState - Creates a copy of this state with optional parameter overrides
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited