embedded_serialport 0.0.31 embedded_serialport: ^0.0.31 copied to clipboard
`embedded_serialport` is a Flutter package for serial port communication, it uses Dart FFI (Foreign Function Interface) to interact with Rust and C shared libraries. This package provides a simple API [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add embedded_serialport
With Flutter:
$ flutter pub add embedded_serialport
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
embedded_serialport: ^0.0.31
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:embedded_serialport/embedded_serialport.dart';