Giter Site home page Giter Site logo

vlong5461 / shangmi_scan_data_flutter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mdddj/shangmi_scan_data_flutter

0.0 1.0 0.0 107 KB

商米手持pda手机接收广播数据flutter插件

License: BSD 3-Clause "New" or "Revised" License

Java 46.06% Objective-C 17.22% Dart 26.43% Ruby 10.29%

shangmi_scan_data_flutter's Introduction

GitHub issues GitHub forks GitHub stars GitHub license

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

pub.dev地址:fly

引入依赖

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

添加包到pubspec.yaml文件中

dependencies:
  sm_scan: ^0.0.2

如何使用

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

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

initState 初始化

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

附件

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

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

shangmi_scan_data_flutter's People

Contributors

mdddj avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.