d2pc_lib 0.0.16-new
d2pc_lib: ^0.0.16-new 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 Dart:
$ dart pub add d2pc_libWith Flutter:
$ flutter pub add d2pc_libThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
d2pc_lib: ^0.0.16-newAlternatively, 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:d2pc_lib/d2pc_lib.dart';