PdfDocumentFactory class abstract
For platform abstraction purpose; use PdfDocument instead.
Constructors
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openAsset(
String name, {PdfPasswordProvider? passwordProvider, bool firstAttemptByEmptyPassword = true}) → Future< PdfDocument> - See PdfDocument.openAsset.
-
openCustom(
{required FutureOr< int> read(Uint8List buffer, int position, int size), required int fileSize, required String sourceName, PdfPasswordProvider? passwordProvider, bool firstAttemptByEmptyPassword = true, int? maxSizeToCacheOnMemory, void onDispose()?}) → Future<PdfDocument> - See PdfDocument.openCustom.
-
openData(
Uint8List data, {PdfPasswordProvider? passwordProvider, bool firstAttemptByEmptyPassword = true, String? sourceName, void onDispose()?}) → Future< PdfDocument> - See PdfDocument.openData.
-
openFile(
String filePath, {PdfPasswordProvider? passwordProvider, bool firstAttemptByEmptyPassword = true}) → Future< PdfDocument> - See PdfDocument.openFile.
-
openUri(
Uri uri, {PdfPasswordProvider? passwordProvider, bool firstAttemptByEmptyPassword = true, PdfDownloadProgressCallback? progressCallback, PdfDownloadReportCallback? reportCallback, bool preferRangeAccess = false, Map< String, String> ? headers, bool withCredentials = false}) → Future<PdfDocument> - See PdfDocument.openUri.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ PdfDocumentFactory
-
Singleton PdfDocumentFactory instance.
getter/setter pair