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

GitHub 儲存庫yushulx/flutter_barcode_sdk

flutter_barcode_sdk

為 Windows、Linux、macOS、Android、iOS 和 web 建構條碼與二維碼偵測應用程式。

flutter_barcode_sdk 專案封面
星標
53
分支
18
最近推送(UTC)
2026年9月7日
專案狀態
未封存

原始 README

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

flutter_barcode_sdk

pub package

A cross-platform Flutter plugin for barcode reading and scanning, powered by the Dynamsoft Barcode Reader SDK. Supports Android, iOS, Web, Windows, and Linux.

Repository Structure

This is a monorepo for the flutter_barcode_sdk federated plugin, following the Flutter camera package pattern. All packages are siblings under packages/ and are published to pub.dev independently:

Package Description
flutter_barcode_sdk App-facing package. Add this to your app.
flutter_barcode_sdk_platform_interface Platform interface contract and shared data models.
flutter_barcode_sdk_android Android implementation.
flutter_barcode_sdk_macos macOS implementation (universal-2).
flutter_barcode_sdk_windows Windows implementation.
flutter_barcode_sdk_linux Linux implementation.
flutter_barcode_sdk_web Web implementation with a self-hosted JS/WASM bundle — no CDN <script> tag needed.

The platform packages are endorsed by the app-facing package, so app developers only need to depend on flutter_barcode_sdk.

Related Packages

  • flutter_capture_vision — same six-platform architecture, plus MRZ (passport/ID) recognition and document boundary detection.
  • flutter_lite_camera — lightweight camera preview and frame capture on all six platforms; the bundled example apps use it as the frame source for live scanning.

Development

The repository uses a pub workspace — run flutter pub get once at the repository root and all packages resolve local dependencies automatically.

flutter pub get        # once at the repo root
flutter analyze        # per package: cd packages/<pkg> && flutter analyze
flutter test

Each package has its own example/ app for standalone testing:

cd packages/flutter_barcode_sdk_windows/example
flutter run -d windows

# macOS (requires Xcode + CocoaPods, macOS 12+)
cd packages/flutter_barcode_sdk_macos/example
flutter run -d macos

Publishing

Each package is published independently from its own directory, with its own version:

cd packages/flutter_barcode_sdk_web
dart pub publish       # dry run: dart pub publish --dry-run

The GitHub Actions workflow .github/workflows/publish.yml publishes automatically when a tag of the form <package-name>-v<version> is pushed, e.g. flutter_barcode_sdk_web-v1.2.3, or manually via Actions → Publish to pub.dev → Run workflow.

Because each platform package ships its own native binaries, each package gets the full 100 MB pub.dev size limit independently.

License

See LICENSE.

Xiao Ling GitHub avatar
GitHub 作者

Xiao Ling ↗

DynamsoftVancouver, British Columbia, Canada
語言C++DartCMakeSwiftObjective-C++JavaRubyObjective-CCHTMLKotlin

分類

此儲存庫發佈的套件

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

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

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

來源與維護

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

GitHub Docs — About repositories ↗