pdf_viewer_plugin

Creator: coderz1093

Last updated:

Add to Cart

Description:

pdf viewer plugin

Pdf Viewer Plugin #

A Flutter plugin for IOS and Android providing a simple way to display PDFs.
Features: #

Display PDF.

         
Installation #
First, add pdf_viewer_plugin as a dependency in your pubspec.yaml file.
iOS #
Add this lines to the ios/Runner/info.plist:
...

<key>io.flutter.embedded_views_preview</key>
<true/>
copied to clipboard
Example #
The plugin works like a normal widget
class PdfApp extends StatelessWidget {
const PdfApp({Key? key}) : super(key: key);

@override
Widget build(BuildContext context) {
return PdfView(path: 'pdf_file_path');
}
}
copied to clipboard
Feedback welcome and
Pull Requests are most welcome!

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.