check_network_connection 0.0.2 copy "check_network_connection: ^0.0.2" to clipboard
check_network_connection: ^0.0.2 copied to clipboard

A Flutter package that monitors internet connectivity and displays customizable notifications for offline scenarios, enhancing user experience by guiding users to reconnect.

140/ 160
pub points
16
downloads

We analyzed this package 4 days ago, and awarded it 140 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Could not find any pubspec.yaml in the repository.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: check_network_connection,
    • contains a version property, and,
    • does not contain a publish_to property.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

7 out of 28 API elements (25.0 %) have documentation comments.

Some symbols that are missing documentation: check_network_connection, check_network_connection.NetworkConnectionDialog, check_network_connection.NetworkConnectionDialog.$configureLifeCycle, check_network_connection.NetworkConnectionDialog.NetworkConnectionDialog.new, check_network_connection.NetworkConnectionDialog.boxDecorationBtnRetry.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:check_network_connection/check_network_connection.dart that imports:
  • package:check_network_connection/src/network_connection_dialog.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:check_network_connection/check_network_connection.dart that imports:
  • package:check_network_connection/src/network_connection_dialog.dart that imports:
  • package:app_settings/app_settings.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:check_network_connection/check_network_connection.dart that imports:
  • package:check_network_connection/src/network_connection_dialog.dart that imports:
  • package:app_settings/app_settings.dart that declares support for platforms: Android, iOS, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:check_network_connection/check_network_connection.dart that imports:
  • package:check_network_connection/src/network_connection_dialog.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:check_network_connection/check_network_connection.dart that imports:
  • package:check_network_connection/src/network_connection_dialog.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:check_network_connection/check_network_connection.dart that imports:
  • package:check_network_connection/src/network_connection_dialog.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
app_settings ^5.1.1 5.2.0 7.0.0
connectivity_plus ^6.0.5 6.1.5 7.0.0
flutter_screenutil ^5.9.3 5.9.3 5.9.3
get ^4.6.6 4.7.3 4.7.3
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.0.1 2.0.1
dbus - 0.7.11 0.7.11
ffi - 2.1.5 2.1.5
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
nm - 0.5.0 0.5.0
petitparser - 7.0.1 7.0.1
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xml - 6.6.1 6.6.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^5.1.1` on app_settings does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions app_settings to update the constraint.

The constraint `^6.0.5` on connectivity_plus does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions connectivity_plus to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
140
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that monitors internet connectivity and displays customizable notifications for offline scenarios, enhancing user experience by guiding users to reconnect.

Documentation

API reference

License

MIT (license)

Dependencies

app_settings, connectivity_plus, flutter, flutter_screenutil, get

More

Packages that depend on check_network_connection