network_monitor_cp 0.0.1 copy "network_monitor_cp: ^0.0.1" to clipboard
network_monitor_cp: ^0.0.1 copied to clipboard

Connectivity_plus wrapper to monitor network status in rela time

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add network_monitor_cp

With Flutter:

 $ flutter pub add network_monitor_cp

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  network_monitor_cp: ^0.0.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:network_monitor_cp/network/mixins/network_aware_mixin.dart';
import 'package:network_monitor_cp/network/network_aware_navigator_observer.dart';
import 'package:network_monitor_cp/network/network_monitor.dart';
import 'package:network_monitor_cp/network/network_state.dart';
import 'package:network_monitor_cp/network/network_utils.dart';
import 'package:network_monitor_cp/network/widget/network_aware_widget.dart';
import 'package:network_monitor_cp/network/widget/overlay_widget.dart';
import 'package:network_monitor_cp/network_monitor.dart';
0
likes
0
points
307
downloads

Publisher

unverified uploader

Weekly Downloads

Connectivity_plus wrapper to monitor network status in rela time

License

unknown (license)

Dependencies

connectivity_plus, flutter

More

Packages that depend on network_monitor_cp