The connectivity_plus_widget package offers a customizable Flutter widget that automatically displays a connection status overlay when the device loses internet access and hides itself once connectivity is restored. Built on top of connectivity_plus, it provides a seamless user experience by visually indicating network availability without requiring manual state management. Ideal for apps where real-time network awareness is critical, it supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux.
Use cases
- Displaying offline status in mobile apps
- Providing visual feedback during network outages
- Enhancing UX in web applications with dynamic connectivity monitoring
- Automatically hiding UI elements when online
- Ensuring users are aware of connectivity changes
Key features
- Auto-show/hide based on connection status
- Customizable appearance and behavior
- Cross-platform support
- Lightweight and easy to integrate
- Built on connectivity_plus for reliability
Suitable for
- Developers building apps needing real-time network status
- Teams prioritizing user experience during connectivity issues
- Projects targeting multiple platforms
- Apps requiring minimal boilerplate for network checks
Considerations
- Requires internet permission on Android and iOS
- May need styling adjustments for different themes
- Depends on connectivity_plus for core functionality
- Limited customization beyond basic UI elements
- Not suitable for complex network diagnostics
