sync_sphere 0.0.3  sync_sphere: ^0.0.3 copied to clipboard
sync_sphere: ^0.0.3 copied to clipboard
The sync_sphere package is designed to check internet connectivity throughout the app or just on a particular location in an easy way. Just wrap the widget you want to listen to internet connectivity [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
 $ flutter pub add sync_sphereThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
  sync_sphere: ^0.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:sync_sphere/sync_sphere.dart';