パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v1.1.4

zxing_lib

zxing の Dart ポートで、複数の 1D/2D バーコードをエンコードおよびデコードできます。QR コード、PDF417、ワンデイ、マキシコード、DataMatrix、Aztec をサポートしています。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
3.5万
いいね数
27
Pub ポイント
160

パッケージをインストール

flutter pub add zxing_lib

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

zxing_lib は、ZXing バーコードライブラリの Dart実装であり、QRコード、PDF417、DataMatrix、Aztec、MaxiCode、OneDなどのさまざまな1次元および2次元バーコードのエンコードおよびデコードを可能にします。Android、iOS、Web、macOS、Windows、Linuxなど複数のプラットフォームをサポートしています。Flutterアプリへのシームレスな統合を目的として設計されており、外部依存なしに信頼性の高いクロスプラットフォームのバーコード機能を提供します。さまざまな形式のバーコードのスキャンまたは生成が必要なアプリケーションに最適です。

用途

  • モバイルアプリでのバーコードスキャン
  • データ共有のためのQRコードの生成
  • 文書システムにおけるPDF417の処理
  • Webアプリケーションにバーコードサポートを統合する
  • 在庫システムでDataMatrixコードを読み取る
  • アステカベースのチケットシステムの作成

主な機能

  • 複数のバーコード形式をサポートしています
  • クロスプラットフォーム互換性
  • 軽量なDartポート
  • ネイティブな依存関係なし
  • デコーディングの高い正確性
  • Flutterとの簡単な統合

適している対象

  • バーコード対応アプリを構築するFlutter開発者
  • 複数形式のバーコードサポートを必要とするアプリケーション
  • オフラインバーコード処理を必要とするプロジェクト
  • 複数のオペレーティングシステムをターゲットにする開発者
  • 純粋なDartソリューションを探しているチーム

注意事項

  • サポートされているバーコード形式に限定
  • 低性能デバイスではパフォーマンスが異なる場合があります
  • リアルタイムカメラストリーミングは含まれていません
  • 画像入力の手動処理が必要です
  • スキャン用に追加のUIコンポーネントが必要になる可能性があります
  • 高速バッチ処理に最適化されていません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

ZXing-Dart

pub package

A Dart port of zxing that encode and decode multiple 1D/2D barcodes, Supported qrcode, pdf417, oned, maxicode, datamatrix, aztec.

ZXing Widget pub package
ZXing Scanner pub package

Why

  • Pure Dart implementation, no need to rely on native packages, good platform compatibility
  • Provide pure Dart encoding for all platforms
  • Provide pure Dart decoding for all platforms
  • Research learning and an exploration of Dart language

... At present, this package is far inferior to other native packages in decoding speed and accuracy, and can be used as a decoding tool and some platforms (such as Web and Desktop). I will also continue to pay attention to the improvement of zxing and the improvement of the performance problems in this project. And welcome suggestions for improvement from those with experience in decoding algorithms and image algorithms.

Feature

  • ✅ Core package translate

  • ✅ Core test translate

  • ✅ Core unit test(all passed)

  • ✅ Demo Creator

  • ✅ Demo Scanner (Decode from Captured picture or CameraImage from camera stream)

  • ✅ Code optimization

  • 🚧 Keep syncing from zxing java...

Preview

Demo App
01 02

Exception Type

  • IllegalArgumentException => ArgumentError
  • FormatException => FormatsException
  • IllegalStateException => StateError

Issue

  • Because there is no float type in dart, the results of some test cases are different from zxing

Flutter

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

カテゴリー

依存関係

依存関係一覧 2 件

ソースリポジトリ

このパッケージを使用しているプロジェクト