v2.0.1pdf_viewer_plugin
iOS और Android के लिए एक Flutter प्लगइन जो स्थानीय फ़ाइल PDF को प्रदर्शित करने का एक सरल तरीका प्रदान करता है (कुछ गिफ़ देखने के लिए दर्ज करें)।
70लाइक 31130-दिन डाउनलोड130Pub अंक
AndroidiOS
iOS और Android के लिए एक Flutter प्लगइन जो PDF प्रदर्शित करने का एक सरल तरीका प्रदान करता है।
{"sdk":"flutter"}^1.11.1{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A Flutter plugin for IOS and Android providing a simple way to display PDFs.
android ios
First, add pdf_viewer_plugin as a dependency in your pubspec.yaml file.
Add this lines to the ios/Runner/info.plist:
...
<key>io.flutter.embedded_views_preview</key>
<true/>
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!