connected 0.1.1+17 copy "connected: ^0.1.1+17" to clipboard
connected: ^0.1.1+17 copied to clipboard

Flutter package for build real internet connection notifier on widget tree.

45/ 160
pub points
45
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.1.1+17").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

14 out of 37 API elements (37.8 %) have documentation comments.

Some symbols that are missing documentation: connected, connected.Connected, connected.Connected.Connected.new, connected.Connected.checkInterval, connected.Connected.child.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 9 issues. Showing the first 2:

ERROR: A value of type 'StreamSubscription

lib/src/internet_checker/internet_connection.dart:253:33

    ╷
253 │       _connectivitySubscription = Connectivity().onConnectivityChanged.listen(
    │ ┌─────────────────────────────────^
254 │ │       (connectivityResult) {
255 │ │         if (_statusController.hasListener) {
256 │ │           _maybeEmitStatusUpdate();
257 │ │         }
258 │ │       },
259 │ │     );
    │ └─────^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/internet_checker/internet_connection.dart

WARNING: Unused import: 'dart:developer'.

lib/src/internet_checker/dio_interceptor/timeout_interceptor.dart:1:8

  ╷
1 │ import 'dart:developer';
  │        ^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/internet_checker/dio_interceptor/timeout_interceptor.dart

Failed report section
Support up-to-date dependencies
10 / 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
connectivity_plus ^6.1.0 6.1.5 7.0.0
dio ^5.7.0 5.9.2 5.9.2
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.0.1 2.0.1
dbus - 0.7.12 0.7.12
dio_web_adapter - 2.1.2 2.1.2
ffi - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
mime - 2.0.0 2.0.0
nm - 0.5.0 0.5.0
path - 1.9.1 1.9.1
petitparser - 7.0.2 7.0.2
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
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 `^6.1.0` 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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • INVALID_ASSIGNMENT - lib/src/internet_checker/internet_connection.dart:253:33 - A value of type 'StreamSubscription<List

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.10, Flutter 3.41.2, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
11
likes
45
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter package for build real internet connection notifier on widget tree.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, dio, flutter

More

Packages that depend on connected