PdfViewCreationParams class
The parameters handed to a native PDF view when it is first created.
Exactly one document source is expected: filePath, pointing at a file on disk, or pdfData, holding the raw bytes of the document.
Constructors
- PdfViewCreationParams({String? filePath, Uint8List? pdfData, required PdfViewSettings settings})
- Creates the creation parameters for a native PDF view.
Properties
- filePath → String?
-
The path of the document to load from disk.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pdfData → Uint8List?
-
The binary data of a PDF document.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings → PdfViewSettings
-
The initial settings of the view.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Serializes the document source and every setting into the wire format expected by the native view factories.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited