MethodChannelPdfCombiner class

Implementation of PdfCombinerPlatform using MethodChannel.

This class provides the platform-specific implementation for interacting with the native code to perform PDF-related operations, such as merging PDFs, creating PDFs from images, extracting images from PDFs, and retrieving file size information. It uses the MethodChannel to communicate with the platform.

Inheritance

Constructors

MethodChannelPdfCombiner()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
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.
override
createPDFFromMultipleImages({required List<String> inputPaths, required String outputPath, int? maxWidth, int? maxHeight, bool? needImageCompressor}) Future<String?>
Creates a PDF from multiple image files.
override
mergeMultiplePDFs({required List<String> inputPaths, required String outputPath}) Future<String?>
Merges multiple PDF files into a single PDF.
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