PdfCombinerPlatform class abstract

Abstract class that serves as the platform interface for PdfCombiner.

This class defines the methods that should be implemented by platform-specific code to interact with the native code for PDF-related operations, such as merging PDFs, creating PDFs from images, extracting images from PDFs, retrieving file sizes, and fetching build information.

Inheritance
  • Object
  • PlatformInterface
  • PdfCombinerPlatform
Implementers

Constructors

PdfCombinerPlatform()
Constructs a PdfCombinerPlatform.

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

createImageFromPDF({required String inputPath, required String outputPath, int? maxWidth, int? maxHeight, bool? createOneImage}) Future<List<String>?>
Creates images from a PDF file.
createPDFFromMultipleImages({required List<String> inputPaths, required String outputPath, int? maxWidth, int? maxHeight, bool? needImageCompressor}) Future<String?>
Creates a PDF from multiple image files.
mergeMultiplePDFs({required List<String> inputPaths, required String outputPath}) Future<String?>
Combines multiple PDFs into a single PDF.
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

Static Properties

instance PdfCombinerPlatform
The default instance of PdfCombinerPlatform to use.
getter/setter pair