serial_communication 0.0.1 serial_communication: ^0.0.1 copied to clipboard
An Android Plugin for Serial Communication This Plugin wants to provide a simple API to connect, read and write data through theses serial ports. Listing the available serial ports on the device, incl [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add serial_communication
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
serial_communication: ^0.0.1
Alternatively, 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:serial_communication/serial_communication.dart';