serial_communication 0.0.2 serial_communication: ^0.0.2 copied to clipboard
An Android Plugin for Serial Communication which allows you to read and write the data through the available ports
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.2
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';