# idata_sacn **Repository Path**: chenKuangLin/idata_scan ## Basic Information - **Project Name**: idata_sacn - **Description**: idata flutter扫码 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-20 - **Last Updated**: 2025-09-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## pda_scanner_flutter_plugin v1.0.0 ### 一款基于FLutter开发的支持PDA扫码的插件 ### 1. 已测试的pda型号 | 品牌 | 型号 | 广播名 | 广播接收名 | 备注 | | ------------------- | ---------------------------- | -------------------------------------------- | ---------- | ------ | | IData(盈达聚力) | idata 50(android9、android6) | android.intent.action.SCANRESULT | value | 已测试 | | UROVO(优博讯) | | android.intent.ACTION_DECODE_DATA | | | | PL(攀凌) | | scan.rcv.message | | | | HONEYWELL(霍尼韦尔) | | com.honeywell.decode.intent.action.EDIT_DATA | | | | SEUIC(小码哥) | | com.android.scanner.service_settings | | | | 新大陆 | | nlscan.action.SCANNER_RESULT | | | ### 2. 使用说明 ```yaml #添加内容到pubspec.yaml pda_scanner_flutter_plugin: git: url: https://gitee.com/chenKuangLin/idata_scan.git #path: ../pda_scanner_flutter_plugin ``` ```dart // 导入 import 'package:pda_scanner_flutter_plugin/pda_scanner_flutter_plugin.dart'; ``` ```dart // 扫码初始化 late StreamSubscription streamSubscription; @override void initState() { super.initState(); // 扫码初始化 streamSubscription = PdaScannerFlutterPlugin.init(scanResultHandle); } @override void dispose() { super.dispose(); streamSubscription.cancel(); } Future scanResultHandle(qrCode) async { setState(() {}); print("扫码结果:$qrCode"); } ```