pdf_merger 0.0.3 copy "pdf_merger: ^0.0.3" to clipboard
pdf_merger: ^0.0.3 copied to clipboard

outdated

A new Flutter plugin for merge List of PDF files. It supports both android and IOS. Before call this package make sure you allow permission and file picker see example.

pdf_merger #

A new Flutter plugin for merge List of PDF files. It supports both android and IOS. Before call this package make sure you allow permission and file picker see example. Also check file_picker and permission handle to implement before calling the plugin.

Method #

String response;
// Platform messages may fail, so we use a try/catch PlatformException.
try {
response = await PdfMerger.platformVersion(paths : filesPath, outputDirPath: outputDirPath);
print("File" + response);
} on PlatformException {
print('Failed to get platform version.');
}

Response -> "Success" when file save successfully otherwise "Error" message come.

paths -> List

Usage #

See Example. Use with file picker and add permission handler before calling pdf_merger.

file_picker

https://pub-web.flutter-io.cn/packages/file_picker

permission_handler

https://pub-web.flutter-io.cn/packages/permission_handler

Support #

Android & IOS

27
likes
0
pub points
86%
popularity

Publisher

unverified uploader

A new Flutter plugin for merge List of PDF files. It supports both android and IOS. Before call this package make sure you allow permission and file picker see example.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on pdf_merger