blocx_core 0.6.0
blocx_core: ^0.6.0 copied to clipboard
Composable BLoC mixins and use-cases for lists & forms (Dart-only core).
We analyzed this package 3 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
508 out of 1469 API elements (34.6 %) have documentation comments.
Some symbols that are missing documentation: blocx_core.BaseBloc, blocx_core.BaseBloc.BaseBloc.new, blocx_core.BaseBloc.displayErrorSnackbar, blocx_core.BaseBloc.displayErrorWidget, blocx_core.BaseBloc.displayErrorWidgetByErrorCode.
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 not compatible with platform Web
Because:
package:blocx_core/blocx_core.dartthat imports:package:blocx_core/src/blocs/list/mixins/blocx_scrollable_list_bloc_mixin.dartthat imports:package:blocx_core/src/core/logger.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:blocx_core/blocx_core.dartthat imports:package:blocx_core/src/blocs/list/mixins/blocx_scrollable_list_bloc_mixin.dartthat imports:package:blocx_core/src/core/logger.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 59 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/blocs/list/mixins/blocx_list_bloc_data_mixin.dart:63:3
╷
63 │ emitState(Emitter<BlocxListState<T>> emit) {
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/blocs/list/mixins/blocx_list_bloc_data_mixin.dart
INFO: Missing type annotation.
lib/src/blocs/list/mixins/blocx_list_bloc_data_mixin.dart:152:3
╷
152 │ sortList(Comparator<T> comparator) {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/blocs/list/mixins/blocx_list_bloc_data_mixin.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bloc |
^9.0.0 |
9.2.0 | 9.2.0 | |
bloc_concurrency |
^0.3.0 |
0.3.0 | 0.3.0 | |
logger |
^2.6.1 |
2.6.2 | 2.6.2 | |
meta |
^1.16.0 |
1.17.0 | 1.17.0 | |
stream_transform |
^2.1.1 |
2.1.1 | 2.1.1 | |
uuid |
^4.5.1 |
4.5.2 | 4.5.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.3, Dart 3.10.4.
Check the analysis log for details.