搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫lubritto/pdf_viewer_plugin

pdf_viewer_plugin

適用於 iOS 和 Android 的 Flutter 外掛程式,提供一種簡單的方式來顯示 PDF。

pdf_viewer_plugin 專案封面
星標
58
分支
73
最近推送(UTC)
2023年6月29日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

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!

Lucas Britto GitHub avatar
GitHub 作者

Lucas Britto ↗

Software Engineer at Talabat

TalabatDubai, UAE
語言DartJavaObjective-CRuby

此儲存庫發佈的套件

使用的依賴

依賴清單 3 項

  • flutter{"sdk":"flutter"}
  • pedantic^1.11.1
  • flutter_test開發依賴{"sdk":"flutter"}

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗