PdfCombinerWeb class
Web implementation of the PdfCombinerPlatform. This class handles the interaction between the Flutter app and JavaScript functions for merging PDFs, creating PDFs from images, and converting PDFs to images.
- Inheritance
-
- Object
- PlatformInterface
- PdfCombinerPlatform
- PdfCombinerWeb
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
-
createImageFromPDF(
{required String inputPath, required String outputPath, ImageFromPdfConfig config = const ImageFromPdfConfig()}) → Future< List< String> > -
Creates images from a PDF file.
override
-
createPDFFromMultipleImages(
{required List< String> inputPaths, required String outputPath, PdfFromMultipleImageConfig config = const PdfFromMultipleImageConfig()}) → 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
Static Methods
-
registerWith(
Registrar registrar) → void - Registers the PdfCombinerWeb instance as the platform implementation. This method is called by the Flutter framework to link the platform interface with the web implementation.