platform_serial 0.1.1
platform_serial: ^0.1.1 copied to clipboard
Complete Flutter plugin for managing serial ports. Supports Windows, Linux, macOS, Android (OTG), and iOS (OTG) with a unified interface. Provides synchronous and asynchronous communication, support f [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add platform_serialThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
platform_serial: ^0.1.1Alternatively, 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:platform_serial/platform_serial.dart';