blocx_core 0.5.9-beta
blocx_core: ^0.5.9-beta copied to clipboard
Composable BLoC mixins and use-cases for lists & forms (Dart-only core).
We analyzed this package 18 hours ago, and awarded it 130 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
124 out of 471 API elements (26.3 %) 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.dart
that imports:package:blocx_core/src/blocs/list/mixins/scrollable_list_bloc_mixin.dart
that imports:package:blocx_core/src/core/logger.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/advanced_file_output_stub.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:blocx_core/blocx_core.dart
that imports:package:blocx_core/src/blocs/list/mixins/scrollable_list_bloc_mixin.dart
that imports:package:blocx_core/src/core/logger.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/advanced_file_output_stub.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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 45 issues. Showing the first 2:
WARNING: Unused import: 'package:blocx_core/src/core/logger.dart'.
lib/src/blocs/list/sub_blocs/infinite_list/infinite_list_bloc.dart:7:8
╷
7 │ import 'package:blocx_core/src/core/logger.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/blocs/list/sub_blocs/infinite_list/infinite_list_bloc.dart
INFO: The import of 'package:blocx_core/src/blocs/form/mixins/form_errors_mixin.dart' is unnecessary because all of the used elements are also provided by the import of 'package:blocx_core/blocx_core.dart'.
lib/src/blocs/form/bloc/form_bloc.dart:4:8
╷
4 │ import 'package:blocx_core/src/blocs/form/mixins/form_errors_mixin.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/blocs/form/bloc/form_bloc.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.0.1 | 9.0.1 | |
bloc_concurrency |
^0.3.0 |
0.3.0 | 0.3.0 | |
logger |
^2.6.1 |
2.6.1 | 2.6.1 | |
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.1 | 4.5.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
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.22.23
, Dart 3.9.3
.
Check the analysis log for details.