fepe_pdf_viewer_plugin 2.1.1 copy "fepe_pdf_viewer_plugin: ^2.1.1" to clipboard
fepe_pdf_viewer_plugin: ^2.1.1 copied to clipboard

A Flutter plugin for IOS and Android providing a simple way to display local file PDFs (enter to see some gifs).

Pdf Viewer Plugin #

pub package

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

Features: #

  • Display PDF.

[android]           [ios]

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/>

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');
  }
}

Feedback welcome and Pull Requests are most welcome!

0
likes
130
points
73
downloads

Publisher

verified publisher5ts.pro

Weekly Downloads

A Flutter plugin for IOS and Android providing a simple way to display local file PDFs (enter to see some gifs).

Documentation

API reference

License

MIT (license)

Dependencies

flutter, pedantic

More

Packages that depend on fepe_pdf_viewer_plugin