embedded_serialport 0.0.33
embedded_serialport: ^0.0.33 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 Flutter:
$ flutter pub add embedded_serialportThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
embedded_serialport: ^0.0.33Alternatively, 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:embedded_serialport/embedded_serialport.dart';