huawei_nearbyservice 6.12.1+310 huawei_nearbyservice: ^6.12.1+310 copied to clipboard
Nearby Service Data Communication allows apps to easily discover nearby devices and set up communication with them using technologies such as Bluetooth and Wi-Fi.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add huawei_nearbyservice
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
huawei_nearbyservice: ^6.12.1+310
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:huawei_nearbyservice/huawei_nearbyservice.dart';