network_monitor_cp 0.0.5 copy "network_monitor_cp: ^0.0.5" to clipboard
network_monitor_cp: ^0.0.5 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 Flutter:

 $ flutter pub add network_monitor_cp

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

dependencies:
  network_monitor_cp: ^0.0.5

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: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
130
points
307
downloads

Publisher

unverified uploader

Weekly Downloads

Connectivity_plus wrapper to monitor network status in rela time

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

connectivity_plus, flutter

More

Packages that depend on network_monitor_cp