FLUTTER ECOSYSTEM

connectivity_wrapper

A new Flutter package which provides network-aware widgets.It allows Flutter apps provide feedback on your app when it's not connected to it, or when there's no connection.

connectivity_wrapper cover
Latest version
2.0.0
30-day downloads
1.4K
Likes
157
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

ConnectivityWrapper is a Flutter package that provides network-aware widgets to help apps respond dynamically to connectivity changes. It enables developers to display appropriate UI feedback when the device is offline or has no internet connection. The package wraps content in a widget tree that monitors network status and triggers visual updates based on current connectivity, improving user experience during network fluctuations. It supports multiple platforms including Android, iOS, macOS, Windows, and Linux.

Use cases
  • Displaying offline banners
  • Showing loading states during connectivity loss
  • Providing feedback for network-dependent actions
  • Handling API calls with network awareness
  • Improving UX during intermittent connections
Key features
  • Real-time network status monitoring
  • Customizable offline UI
  • Automatic reconnection detection
  • Cross-platform support
  • Simple integration with existing widgets
Suitable for
  • Apps requiring real-time network feedback
  • Developers building robust offline experiences
  • Projects with frequent API interactions
  • Mobile and desktop applications
  • UX-focused app development
Considerations
  • Requires internet permission on Android
  • May need additional error handling
  • Not suitable for background network checks
  • Limited to UI-level connectivity feedback
  • Depends on underlying connectivity plugins
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add connectivity_wrapper

Categories

Dependencies

Dependency list 2 items

Source repository

Related projects

No data available yet.