Overview
The connectivity_widget package provides a simple, reactive widget that displays the current internet connection status of the device. It monitors network availability across Android, iOS, Web, macOS, Windows, and Linux platforms, updating the UI in real time when connectivity changes occur. Designed for ease of integration, it allows developers to show visual indicators—such as icons or text—to inform users whether they are online or offline. Ideal for apps requiring immediate feedback on network state, such as messaging, media streaming, or data synchronization services.
Use cases
- Real-time network status display
- Offline mode indicators
- User experience enhancement during connectivity changes
- App functionality adaptation based on network state
- Loading state management during poor connectivity
Key features
- Cross-platform support
- Reactive UI updates
- Simple integration with minimal setup
- Customizable appearance
- Automatic detection of connection changes
Suitable for
- Apps needing real-time network awareness
- Developers seeking lightweight connectivity monitoring
- UI components requiring dynamic network feedback
- Projects targeting multiple platforms
- Users wanting instant online/offline status indicators
Considerations
- Requires proper permissions on mobile platforms
- May need additional logic for handling transient network states
- Does not handle specific network types (e.g., Wi-Fi vs cellular)
- Limited to connectivity status, not bandwidth or quality
- Depends on underlying platform APIs for accuracy
