mgs_connectivity_check 1.2.4
mgs_connectivity_check: ^1.2.4 copied to clipboard
A customizable Flutter connectivity checker with internet validation and automatic no-internet dialog support.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add mgs_connectivity_checkThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
mgs_connectivity_check: ^1.2.4Alternatively, 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:mgs_connectivity_check/mgs_connectivity_check.dart';