flutter_connectivity_service 2.1.0 copy "flutter_connectivity_service: ^2.1.0" to clipboard
flutter_connectivity_service: ^2.1.0 copied to clipboard

A comprehensive Flutter package for managing network connectivity with real-time monitoring, automatic reconnection, and user-friendly snackbar notifications.

Flutter Connectivity Service #

A comprehensive Flutter package for managing network connectivity with real-time monitoring, automatic reconnection detection, and user-friendly snackbar notifications.

Features #

  • 🔄 Real-time connectivity monitoring
  • 📱 Automatic snackbar notifications for connection changes
  • 🎨 Customizable UI components and messages
  • 🚀 GetX integration for reactive state management
  • 📶 Support for WiFi and mobile data detection
  • ⚡ Lightweight and efficient
  • 🛡️ Graceful error handling
  • 🎯 Easy to integrate and use

How to use this package,see below #

Add these two lines in main(). #

WidgetsFlutterBinding.ensureInitialized() and Get.put(ConnectionServices()); just below void main() #

see below #

void main() { WidgetsFlutterBinding.ensureInitialized();
Get.put(ConnectionServices()); runApp(const MyApp()); }

see given image below to use this package #

...

Example #

See the image below to use this package:

! flutter_connectivity_service.png (imgs/pic.png)

I don't need any coffee,just do your code and have fun 😊 #

Callbacks #

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  flutter_connectivity_service: ^2.1.0
2
likes
150
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

A comprehensive Flutter package for managing network connectivity with real-time monitoring, automatic reconnection, and user-friendly snackbar notifications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, flutter, get

More

Packages that depend on flutter_connectivity_service