modular_bloc_bind 2.0.0-beta.1
modular_bloc_bind: ^2.0.0-beta.1 copied to clipboard
Smart project structure with dependency injection and route management
We analyzed this package 3 days ago, and awarded it 55 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: modular_bloc_bind
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: modular_bloc_bind
.
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 ("2.0.0-beta.1").
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
.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 12 API elements (0.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: modular_bloc_bind
, modular_bloc_bind.BlocAutoBind
, modular_bloc_bind.BlocAutoBind.BlocAutoBind.new
, modular_bloc_bind.BlocAutoBind.factory
, modular_bloc_bind.BlocAutoBind.lazySingleton
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 17 issues. Showing the first 2:
ERROR: The method 'singleton' isn't defined for the type 'Bind'.
lib/src/modular_bloc_bind_base.dart:9:17
╷
9 │ return Bind.singleton<T>(
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/modular_bloc_bind_base.dart
ERROR: The method 'lazySingleton' isn't defined for the type 'Bind'.
lib/src/modular_bloc_bind_base.dart:24:17
╷
24 │ return Bind.lazySingleton<T>(
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/modular_bloc_bind_base.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
bloc |
>=8.0.0 <9.0.0 |
8.1.4 | 9.1.0 | |
modular_core |
>=3.0.0-alpha.1 <4.0.0 |
3.4.1 | 3.4.1 | |
stream_transform |
>=2.0.0 <3.0.0 |
2.1.1 | 2.1.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
auto_injector |
- | 2.1.1 | 2.1.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `>=8.0.0 <9.0.0` on bloc does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions bloc
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 14 errors:
UNDEFINED_CLASS
-lib/src/modular_bloc_bind_base.dart:5:10
- Undefined class 'Bind'.UNDEFINED_IDENTIFIER
-lib/src/modular_bloc_bind_base.dart:9:12
- Undefined name 'Bind'.UNDEFINED_CLASS
-lib/src/modular_bloc_bind_base.dart:20:10
- Undefined class 'Bind'.
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.22.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.