network_settings_listener 1.0.3
network_settings_listener: ^1.0.3 copied to clipboard
A Flutter plugin for Android to listen for WiFi and Bluetooth connectivity state changes.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add network_settings_listenerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
network_settings_listener: ^1.0.3Alternatively, 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:network_settings_listener/network_settings_listener.dart';