URLPDFSource class

Fetches the given PDF document URL from the network.

This class provides functionality to load a PDF document from a remote URL. The PDF will be downloaded and won’t be stored in memory for viewing.

See also:

Inheritance

Constructors

URLPDFSource.new(String url, {Map<String, String>? headers})
Creates a URLPDFSource that fetches a PDF document from the specified URL.

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 the network.
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