network_monitor 1.0.0 network_monitor: ^1.0.0 copied to clipboard
A Flutter plugin that allows you to check the network connectivity and listen for changes. This plugin works for Android. .
network_monitor #
A Flutter plugin that allows you to check the network connectivity and listen for changes. This plugin works for Android.
check internet connectivity
import 'package:network_monitor/network_monitor.dart';
//create a instance of networkmonitor
final _networkMonitorPlugin = NetworkMonitor();
//it return bool
_networkMonitorPlugin.isOnline()
listen for changes
import 'package:network_monitor/network_monitor.dart';
//create a instance of networkmonitor
final _networkMonitorPlugin = NetworkMonitor();
///it return [Stream<NetworkStatus>?]
var result=_networkMonitorPlugin.onChange();
result.listen((event){
//network changes
})
Screenshots #
Hi, I'm Jasir! 👋 #
https://github.com/mohammed-jasir-7
🚀 About Me #
I am a passionate Flutter developer with years of experience in building cross-platform mobile applications. I have developed and deployed several Flutter apps for Android and iOS platforms, using various technologies such as Firebase, Google Maps, Agora, and more. I have a strong knowledge of Dart language, Flutter framework, and state management solutions such as BLoC , Provider and getx. I also have experience in writing clean, maintainable, and testable code using best practices and design patterns. I am always eager to learn new skills and technologies to improve my Flutter development skills. I enjoy working in a team environment and collaborating with other developers to deliver high-quality products that meet the client's requirements and expectations. .
🔗 Links #
Support #
For support, email jasirm203@gmail.com