Finap Connectivity Helper
Features
Check whether app is connected to internet or not.
Getting started
Run this command to install
flutter pub add finap_connectivity_helper
Usage
isConnected
Future<bool> isConnected() async {
var connectivityResult = await connectivity.checkConnectivity();
if (connectivityResult == ConnectivityResult.none) {
return false;
} else {
return true;
}
}