sunmi_scanner

A packae for support sunmi scanners

Important

THIS PACKAGE WILL WORK ONLY IN ANDROID!


Class Name

SunmiScanner

Example

void _setScannedValue(String value) {
    setState(() {
      scannedValue = value;
    });
  }

@override
  void initState() {
    super.initState();
    SunmiScanner.onBarcodeScanned().listen((event) {
      _setScannedValue(event);
    });
  }

Installation

flutter pub add sunmi_scanner

Tested Devices

Sunmi L2ks

Libraries

sunmi_scanner