flutter_sunmi_scan 1.0.0+1 copy "flutter_sunmi_scan: ^1.0.0+1" to clipboard
flutter_sunmi_scan: ^1.0.0+1 copied to clipboard

PlatformAndroid

Flutter scan plugin based on SUNMI OS.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_sunmi_scan

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_sunmi_scan: ^1.0.0+1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_sunmi_scan/bean/scan_result_bean.dart';
import 'package:flutter_sunmi_scan/bean/scan_result_bean.g.dart';
import 'package:flutter_sunmi_scan/common/constants.dart';
import 'package:flutter_sunmi_scan/common/global_utils.dart';
import 'package:flutter_sunmi_scan/impl/plugin_impl.dart';
import 'package:flutter_sunmi_scan/interface/plugin_interface.dart';
import 'package:flutter_sunmi_scan/scan_sdk.dart';
0
likes
130
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter scan plugin based on SUNMI OS.

Repository

Documentation

API reference

License

MIT (license)

Dependencies

flutter, json_annotation, logger, plugin_platform_interface

More

Packages that depend on flutter_sunmi_scan

Packages that implement flutter_sunmi_scan