skio_usb_serial 0.1.3
skio_usb_serial: ^0.1.3 copied to clipboard
USB serial for Flutter on Android (USB OTG) and web (Web Serial): talk to ESP32, Arduino, STM32 and CH340, CP210x, FTDI adapters. JNI, no platform channels.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add skio_usb_serialWith Flutter:
$ flutter pub add skio_usb_serialThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
skio_usb_serial: ^0.1.3Alternatively, your editor might support dart pub get or 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';