d2pc_lib 0.0.40
d2pc_lib: ^0.0.40 copied to clipboard
Flutter library to do 'device to pc' communication. This library provide APIs for establishing a connection, sending and receiving data, and managing the communication process between the device and the PC.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add d2pc_libThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
d2pc_lib: ^0.0.40Alternatively, 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:d2pc_lib/d2pc_lib.dart';