In this app, I have implemented Check internet connectivity status and change connectivity status for whole application using provider.For that you've to follow some steps.
Using this app if you want to clone and use this app, then you have to complete the following steps:
Plugins
The plugins used in this project are:
-
"connectivity: ^0.4.8+2".
-
"connectivity: ^0.4.8+2".
Add this to your package's pubspec.yaml file import using
import 'package:provider/provider.dart';
import 'package:connectivity/connectivity.dart';
import 'package:connectivity/connectivity.dart';