bloc_connectivity 0.0.2
bloc_connectivity: ^0.0.2 copied to clipboard
This is a Flutter package used to wrap your application with the NetworkChecker Widget to continously check the network connectivity using Bloc.
We analyzed this package 43 hours ago, and awarded it 125 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.2").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
26 out of 46 API elements (56.5 %) have documentation comments.
Some symbols that are missing documentation: main, main.MyApp, main.MyApp.MyApp.new, main.MyHomePage, main.MyHomePage.MyHomePage.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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:bloc_connectivity/bloc_connectivity.dartthat imports:package:bloc_connectivity/network_checker.dartthat imports:package:bloc_connectivity/networking/bloc/network_connectivity_bloc.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:bloc_connectivity/bloc_connectivity.dartthat imports:package:bloc_connectivity/network_checker.dartthat imports:package:bloc_connectivity/networking/bloc/network_connectivity_bloc.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `Windows`.
Because:
package:bloc_connectivity/bloc_connectivity.dartthat imports:package:bloc_connectivity/network_checker.dartthat imports:package:bloc_connectivity/networking/bloc/network_connectivity_bloc.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `macOS`.
Because:
package:bloc_connectivity/bloc_connectivity.dartthat imports:package:bloc_connectivity/network_checker.dartthat imports:package:bloc_connectivity/networking/bloc/network_connectivity_bloc.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:bloc_connectivity/bloc_connectivity.dartthat imports:package:bloc_connectivity/network_checker.dartthat imports:package:bloc_connectivity/networking/bloc/network_connectivity_bloc.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat imports:package:nm/src/network_manager_client.dartthat imports:package:dbus/dbus.dartthat imports:package:dbus/src/dbus_value.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Dangling library doc comment.
lib/networking/bloc/network_connectivity_event.dart:1:1
╷
1 │ /// Part of the 'network_connectivity_bloc.dart' file.
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/networking/bloc/network_connectivity_event.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bloc |
^8.1.2 |
8.1.4 | 9.2.0 | |
bloc_test |
^9.1.5 |
9.1.7 | 10.0.0 | |
connectivity_plus |
^5.0.1 |
5.0.2 | 7.0.0 | |
equatable |
^2.0.5 |
2.0.8 | 2.0.8 | |
flutter_bloc |
^8.1.3 |
8.1.6 | 9.1.1 | |
mockito |
^5.4.3 |
5.6.3 | 5.6.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 93.0.0 | 94.0.0 | |
analyzer |
- | 10.0.1 | 10.0.2 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
build |
- | 4.0.4 | 4.0.4 | |
built_collection |
- | 5.1.1 | 5.1.1 | |
built_value |
- | 8.12.3 | 8.12.3 | |
characters |
- | 1.4.0 | 1.4.1 | |
cli_config |
- | 0.2.0 | 0.2.0 | |
code_builder |
- | 4.11.1 | 4.11.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 1.2.4 | 2.0.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
coverage |
- | 1.15.0 | 1.15.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dart_style |
- | 3.1.5 | 3.1.5 | |
dbus |
- | 0.7.11 | 0.7.11 | |
diff_match_patch |
- | 0.4.1 | 0.4.1 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
frontend_server_client |
- | 4.0.0 | 4.0.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
http_multi_server |
- | 3.2.2 | 3.2.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
io |
- | 1.0.5 | 1.0.5 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
mime |
- | 2.0.0 | 2.0.0 | |
mocktail |
- | 1.0.4 | 1.0.4 | |
nested |
- | 1.0.0 | 1.0.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
node_preamble |
- | 2.0.2 | 2.0.2 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pool |
- | 1.5.2 | 1.5.2 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
shelf |
- | 1.4.2 | 1.4.2 | |
shelf_packages_handler |
- | 3.0.2 | 3.0.2 | |
shelf_static |
- | 1.1.3 | 1.1.3 | |
shelf_web_socket |
- | 3.0.0 | 3.0.0 | |
source_gen |
- | 4.2.0 | 4.2.0 | |
source_map_stack_trace |
- | 2.1.2 | 2.1.2 | |
source_maps |
- | 0.10.13 | 0.10.13 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test |
- | 1.29.0 | 1.29.0 | |
test_api |
- | 0.7.9 | 0.7.9 | |
test_core |
- | 0.6.15 | 0.6.15 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
watcher |
- | 1.2.1 | 1.2.1 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
webkit_inspection_protocol |
- | 1.2.1 | 1.2.1 | |
xml |
- | 6.6.1 | 6.6.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 issues. Showing the first 2:
The constraint `^8.1.2` on bloc does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions bloc to update the constraint.
The constraint `^9.1.5` on bloc_test does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions bloc_test to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.8, Flutter 3.38.8, Dart 3.10.7.
Check the analysis log for details.