Skip to content
pubscout

connectivity_checker

1.1.0, released 5 years ago by an unverified publisher

Provides network-aware widgets and checks internet connectivity status.

$ flutter pub add connectivity_checker
Source repository

What it does

Allows Flutter apps to provide feedback on connectivity status by wrapping apps or specific widgets with network-aware components. It offers checkers to determine if a device is currently connected to the internet.

AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to display an offline banner or custom widget when the network connection drops.
  • You need to check internet connectivity asynchronously in your app logic.

Skip it when

  • You only need raw network status without UI components.
  • You rely solely on connectivity checks to reliably decide if you can make network requests without handling timeouts.

Strengths

  • Easy setup with MaterialApp wrapping via ConnectivityAppWrapper.
  • Provides customizable offline widgets and banners.
  • Supports checking connectivity via a simple instance call.

Weaknesses

  • Relies on older or specific dependencies like provider.
  • Does not replace proper timeout and network error handling.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Wrap your MaterialApp/CupertinoApp with ConnectivityAppWrapper and your body or widgets with ConnectivityWidgetWrapper.

return ConnectivityAppWrapper(
  app: MaterialApp(
    home: MenuScreen(),
  ),
);

Alternatives

Packages that do the same job and could replace connectivity_checker.

Works with

Packages commonly used together with connectivity_checker: ones it builds on, ones built on it, and its own family.