internet_connection_checker_plus
3.1.2, released 2 months ago by outdatedguy.rocks
Verifies actual internet connectivity by checking reachability against global endpoints.
What it does
Proactively tests real internet access instead of local network statuses, providing subsecond verification responses. Features a stream-based API for real-time connectivity status updates and supports custom endpoints.
AI-written summary of version 3.1.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to verify true internet reachability rather than just local Wi-Fi or cellular status.
- You want real-time stream notifications when the internet connection is lost or restored.
Skip it when
- You only need local network interface or hardware connection status checks (use connectivity_plus instead).
Strengths
- Accurately verifies real internet reachability against global endpoints.
- Provides a real-time stream-based API for status updates.
- Universal compatibility with both pure Dart and Flutter across multiple platforms.
Weaknesses
- Active network checking consumes data and battery compared to passive network event listeners.
- Requires proper cleanup of custom instances or subscriptions to avoid memory leaks.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Ensure network permissions are enabled for your target platforms in Flutter applications.
final bool isConnected = await InternetConnection().hasInternetAccess;Alternatives
Packages that do the same job and could replace internet_connection_checker_plus.
- connectivity_plus
If you only need to check the local device connection state (Wi-Fi, mobile, none) without active HTTP ping requests.
97Compare
Works with
Packages commonly used together with internet_connection_checker_plus: ones it builds on, ones built on it, and its own family.
- stream_videoBuilt on internet_connection_checker_plusOfficial low-level client for Stream Video, supporting calls, audio rooms, and live streaming.
- connection_notifierBuilt on internet_connection_checker_plusNotifies users about internet connection status and provides tools to track connectivity.
- offline_gamesBuilt on internet_connection_checker_plusA plug-and-play mini arcade widget for Flutter apps when the device goes offline.