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

パッケージ詳細v2.0.0

qr_scanner_with_effect

スキャン効果付きのQRコードスキャナー用Flutterパッケージ。

AndroidiOS
30日間ダウンロード
116
いいね数
27
Pub ポイント
160

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

flutter pub add qr_scanner_with_effect

パッケージ概要

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

アニメーション付きのスキャン効果を備えたQRコードスキャナーを提供するFlutterパッケージで、バーコードおよびQRコード検出時のユーザー体験を向上させます。AndroidおよびiOS向けに構築されており、Flutterアプリケーションにシームレスに統合され、スキャナーがコードを検索する際のリアルタイムの視覚フィードバックを提供します。このパッケージは軽量であり、複雑なセットアップなしに魅力的なスキャンインターフェースを求める開発者向けに設計されています。ネイティブカメラアクセスを活用し、スキャンの進行状況や成功を示す滑らかなアニメーションを含んでいます。

用途

  • 小売アプリにおけるリアルタイムQRコードスキャン
  • 視覚フィードバック付きのイベントチケット検証
  • インタラクティブスキャンを備えた在庫管理
  • 明確なスキャンインジケーターを必要とするモバイル決済システム

主な機能

  • アニメーションスキャン効果
  • クロスプラットフォーム対応(Android および iOS)
  • Flutter とのシンプルな統合
  • リアルタイムの視覚フィードバック
  • 軽量かつ効率的
  • カメラベースのQR検出

適している対象

  • インタラクティブスキャン機能を開発する開発者
  • 魅力的なユーザー体験を必要とするアプリ
  • 小売およびイベント管理ツール
  • クイックQRコードキャプチャユーティリティ

注意事項

  • ターゲットデバイスでのカメラ権限が必要です
  • 低スペックのハードウェアでのパフォーマンスに影響を与える可能性があります
  • アニメーションスタイルのカスタマイズが限定的
  • 安定したカメラアクセスと照明状態に依存します

元の README

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

qr_scanner_with_effect

A Flutter widget that will use for scanning QR Code and it also has scanning effect.

QR Scanner with Effect

pub package GH Actions

Features

Parameter Definition
GlobalKey<State<StatefulWidget>> qrKey (Required) [qrKey] uniquely identify elements
void Function(QRViewController) onQrScannerViewCreated (Required) [onQRViewCreated] gets called when the view is created
EdgeInsetsGeometry overlayMargin (Predefined) use [overlayMargin] to provide a margin to [overlay]
CameraFacing cameraFacing (Predefined) Set which camera to use on startup.[cameraFacing] can either be CameraFacing.front or CameraFacing.back
void Function(QRViewController, bool)? onPermissionSet (Optional) Calls the provided [onPermissionSet] callback when the permission is set
List<BarcodeFormat> formatsAllowed (Predefined) Use [formatsAllowed] to specify which formats needs to be scanned
Color qrOverlayBorderColor (Required) [qrOverlayBorderColor] is used for giving color of qr overlay border
double qrOverlayBorderRadius (Predefined) [qrOverlayBorderRadius] is used for giving border radius of qr overlay border
double qrOverlayBorderWidth (Predefined) [qrOverlayBorderWidth] it defines the width of the qr overlay border
double qrOverlayBorderLength (Predefined) [qrOverlayBorderLength] it defines the length of the qr overlay border
Gradient? effectGradient (Optional) use [effectGradient] for effect animated color from begin to top
double effectWidth (Predefined) [effectWidth] define the width of the effect
bool isScanComplete (Predefined) [isScanComplete] is used for remove effect after scanning complete
Color? effectColor (Optional) use [effectColor] for color of the effect
double? cutOutSize
double? cutOutHeight
double? cutOutWidth
double cutOutBottomOffset

Demo

ezgif com-optimize

Installation

Add dependency for package on your pubspec.yaml:

    dependencies:
      qr_scanner_with_effect: latest

or

flutter pub add qr_scanner_with_effect

Usage

QrScannerWithEffect(
  isScanComplete: isComplete,
  qrKey: qrKey,
  onQrScannerViewCreated: onQrScannerViewCreated,
  qrOverlayBorderColor: Colors.redAccent,
  cutOutSize: (MediaQuery.of(context).size.width < 300 || MediaQuery.of(context).size.height < 400) ? 250.0 : 300.0,
  onPermissionSet: (ctrl, p) => onPermissionSet(context, ctrl, p),
  effectGradient: const LinearGradient(
    begin: Alignment.topCenter,
    end: Alignment.bottomCenter,
    stops: [0.0, 1],
    colors: [
      Colors.redAccent,
      Colors.redAccent,
    ],
  ),
)

Additional information

This package is built on "qr_code_scanner". When we use "qr_scanner_with_effect" package than we also use "qr_code_scanner" package for fetching its controller.

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

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

データはまだありません。