carp_connectivity_package 1.1.1 copy "carp_connectivity_package: ^1.1.1" to clipboard
carp_connectivity_package: ^1.1.1 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 Dart:

 $ dart pub add carp_connectivity_package

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 dart pub get):

dependencies:
  carp_connectivity_package: ^1.1.1

Alternatively, 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:carp_connectivity_package/connectivity.dart';
import 'package:carp_connectivity_package/connectivity.g.dart';
import 'package:carp_connectivity_package/connectivity_data.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';