s_connectivity 1.0.0 copy "s_connectivity: ^1.0.0" to clipboard
s_connectivity: ^1.0.0 copied to clipboard

A small Flutter utility package to detect Internet connectivity changes and show ready‑to‑use offline UI components

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

1.0.0 - 2026-01-13 #

Added #

  • Initial release of s_connectivity.
  • AppInternetConnectivity static API:
    • initialiseInternetConnectivityListener(...) to start listening.
      • isConnected synchronous getter.
      • listenable (ValueListenable<bool>) for UI state (recommended).
      • emitCurrentStateNow() to emit callbacks for the currently known state.
      • hardReset() to clear listeners/state (useful for Flutter Web hot restart).
      • disposeInternetConnectivityListener() to clean up.
  • Ready-to-use offline UI widgets:
    • NoInternetWidget (small indicator widget).
      • NoInternetConnectionPopup (full-screen overlay).

Notes #

  • emitInitialStatus: true emits the currently known state immediately; it does not perform an actual network probe.
0
likes
0
points
188
downloads

Publisher

unverified uploader

Weekly Downloads

A small Flutter utility package to detect Internet connectivity changes and show ready‑to‑use offline UI components

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

assorted_layout_widgets, flutter, flutter_animate, internet_connection_checker_plus, sizer, soundsliced_dart_extensions

More

Packages that depend on s_connectivity