skio_usb_serial 0.1.2
skio_usb_serial: ^0.1.2 copied to clipboard
USB serial port for Flutter on Android (USB OTG) and web (Web Serial): CP210x, CH340, FTDI, CDC-ACM. Direct JNI via jnigen, no platform channels.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add skio_usb_serialThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
skio_usb_serial: ^0.1.2Alternatively, 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:skio_usb_serial/skio_usb_serial.dart';