connectivity_manager_plus is an open-source Flutter package that makes it easy to detect internet connectivity in real-time. It provides built-in customizable UI components like Snackbar, Alert Dialog, and Full-Screen No Internet Page, saving developers from writing repetitive boilerplate code.
As a Flutter developer, I often found myself adding boilerplate code to handle internet connectivity. Every project needed:
I realized this problem is common for every Flutter app, so why not solve it once and for all with a reusable package?
That’s how Connectivity Manager was born. 🎉
Connectivity Manager is an open-source Flutter package that helps you monitor internet connectivity in real-time and show feedback to users in multiple ways:
It is built on top of connectivity_manager_plus, but provides a plug-and-play solution with ready-made UI and full customization.
| Default UI (Snackbar + Screen): | Custom UI (Custom Screen): |
![]() | ![]() |
Add to your pubspec.yaml:
dependencies:
connectivity_manager_plus: ^1.0.0
Initialize in your app:
ConnectivityService().initialize(
context,
config: ConnectivityConfig(
disconnectedText: "🚨 No Internet 😢",
connectedText: "✅ Back Online 🎉",
showRetryButton: true,
onRetry: () => debugPrint("Retry Pressed"),
),
);
You can also provide your own custom screen:
ConnectivityConfig(
customScreenBuilder: (ctx) => Scaffold(
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Icon(Icons.wifi_off, size: 100, color: Colors.red),
const Text("No Internet Connection"),
ElevatedButton(
onPressed: () => debugPrint("Retry from custom screen"),
child: const Text("Retry"),
),
],
),
),
),
);
The package is 100% open-source:
👉 GitHub Repo
You are free to:
Together, we can make it even more powerful. 💪
As developers, we focus on big features, but small details like a smooth no-internet experience can make or break the user journey.
I wanted to create something that not only helps me, but also helps the community.
This is my first open-source Flutter package — but definitely not the last. 🚀
If you’re a Flutter developer, give it a try and let me know your feedback.
👉 pub.dev Package
👉 GitHub Repo
Made with ❤️ by Parikshit Verma -TechyCodex
Your email address will not be published. Required fields are marked *