mdns_bloc 0.0.5
mdns_bloc: ^0.0.5 copied to clipboard
Bloc wrapper over 'multicast_dns' which performs service discovery over multicast DNS (mDNS), Bonjour and Avahi.
We analyzed this package 47 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/alanmosely/mdns_bloc/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
34 out of 54 API elements (63.0 %) have documentation comments.
Some symbols that are missing documentation: mdns_bloc
, mdns_bloc.MDnsBloc
, mdns_bloc.MDnsBloc.MDnsBloc.new
, mdns_constants
, mdns_event
.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:mdns_bloc/mdns_bloc.dart
that imports:package:mdns_bloc/mdns_state.dart
that imports:package:multicast_dns/multicast_dns.dart
that imports:package:multicast_dns/src/resource_record.dart
that imports:package:multicast_dns/src/packet.dart
that imports:package:multicast_dns/src/constants.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:mdns_bloc/mdns_bloc.dart
that imports:package:mdns_bloc/mdns_state.dart
that imports:package:multicast_dns/multicast_dns.dart
that imports:package:multicast_dns/src/resource_record.dart
that imports:package:multicast_dns/src/packet.dart
that imports:package:multicast_dns/src/constants.dart
that 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: Angle brackets will be interpreted as HTML.
lib/mdns_bloc.dart:24:22
╷
24 │ /// emit (Emitter<MDnsState>): This is the function that you use to emit a new state
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/mdns_bloc.dart
INFO: Angle brackets will be interpreted as HTML.
lib/mdns_bloc.dart:101:20
╷
101 │ /// emit (Emitter<MDnsState>): This is the function that you use to emit a new state
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/mdns_bloc.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
equatable |
^2.0.5 |
2.0.7 | 2.0.7 | |
flutter_bloc |
^8.1.2 |
8.1.6 | 9.1.1 | |
multicast_dns |
^0.3.2+3 |
0.3.3 | 0.3.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
bloc |
- | 8.1.4 | 9.0.0 | |
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
provider |
- | 6.1.5 | 6.1.5 | |
vector_math |
- | 2.1.4 | 2.1.5 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^8.1.2` on flutter_bloc does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions flutter_bloc
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.22.21
, Flutter 3.29.3
, Dart 3.7.2
.
Check the analysis log for details.