v0.2.0
qr_code_tools
iOS および Android 向けの Flutter プラグインで、QR コードをデコードします。
30いいね 340030日間ダウンロード140Pub ポイント
AndroidiOS
iOS および Android 向けの Flutter プラグインで、QR コードをデコードします。
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
The Flutter plugin for iOS and Android to decoding QR codes.
First, add qr_code_tools as a dependency in your pubspec.yaml file.
Add one rows to the ios/Runner/Info.plist:
Privacy - Photo Library Usage Description and a usage description.Or in text format add the key:
<key>NSPhotoLibraryUsageDescription</key>
<string>Can I use the photo library please?</string>
Nothing to do
import 'package:qr_code_tools/qr_code_tools.dart';
String _data;
/// decode from local file
Future decode(String file) async {
String data = await QrCodeToolsPlugin.decodeFrom(file);
setState(() {
_data = data;
});
}
For a more elaborate usage example see here.
依存関係一覧 3 件
{"sdk":"flutter"}{"sdk":"flutter"}^5.0.0用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗