carp_connectivity_package 0.9.3 carp_connectivity_package: ^0.9.3 copied to clipboard
CARP connectivity sampling package. Samples connectivity status, bluetooth devices, and wifi access points.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add carp_connectivity_package
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
carp_connectivity_package: ^0.9.3
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:carp_connectivity_package/connectivity.dart';
import 'package:carp_connectivity_package/connectivity.g.dart';
import 'package:carp_connectivity_package/connectivity_datum.dart';
import 'package:carp_connectivity_package/connectivity_package.dart';
import 'package:carp_connectivity_package/connectivity_privacy.dart';
import 'package:carp_connectivity_package/connectivity_probes.dart';