v0.2.0
qr_code_tools
iOS 및 Android용 Flutter 플러그인으로 QR 코드를 디코딩합니다.
30좋아요 3.7천30일 다운로드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 ↗