usb_serial_next 0.2.0
usb_serial_next: ^0.2.0 copied to clipboard
Maintained replacement for usb_serial: Arduino, ESP32 and USB-UART adapters (FTDI, CP210x, CH34x, PL2303, CDC-ACM) on Android over USB OTG, no JitPack.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add usb_serial_nextThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
usb_serial_next: ^0.2.0Alternatively, 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:usb_serial_next/usb_serial_next.dart';