universal_serial 0.0.9
universal_serial: ^0.0.9 copied to clipboard
A unified, cross-platform API for USB/UART serial communication across Web, Android, Windows, macOS, and Linux.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add universal_serialThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
universal_serial: ^0.0.9Alternatively, 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:universal_serial/universal_serial.dart';