BytePDFSource class
Decodes the given Uint8List buffer as a PDF document.
This class provides functionality to load a PDF document directly from memory using a Uint8List buffer containing the PDF data.
See also:
- SfPdfViewer.memory, which provides a convenient way to display a PDF using a Uint8List.
Constructors
- BytePDFSource.new(Uint8List bytes)
- Creates a BytePDFSource that decodes the specified Uint8List as a PDF document.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getBytes(
BuildContext context) → Future< Uint8List> -
Retrieves the bytes of the PDF document from memory.
override
-
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