sm_scan 0.0.2
sm_scan: ^0.0.2 copied to clipboard

Flutter Android iOS

A new flutter plugin project.

商米手机(带扫描头)接收红外扫描头发送的广播数据,返回到flutter app

引入依赖 #

sm_scan:
    git:
      url: git://github.com/mdddj/shangmi_scan_data_flutter.git

如何使用 #

引入插件后,在需要获取获取扫描头数据的页面,创建:

static const EventChannel _eventChannel = EventChannel('shangmi_flutter');

initState 初始化

_eventChannel.receiveBroadcastStream().listen((value) {
    print("获取到扫描头数据>>>>>>>>>>$value");
}); 

附件 #

扫码头开发及用户文档.pdf

flutter插件开发,监听原生广播返回数据

0
likes
65
pub points
0%
popularity

A new flutter plugin project.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

hlxsmail@gmail.com

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on sm_scan