dire_di 1.0.1
dire_di: ^1.0.1 copied to clipboard
A Spring-like dependency injection framework for Dart with auto-wiring capabilities using mirrors.
We analyzed this package 5 days ago, and awarded it 150 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
122 out of 170 API elements (71.8 %) have documentation comments.
Some symbols that are missing documentation: dire_di.Autowired.Autowired.new, dire_di.Bean.Bean.new, dire_di.BeanCreationException.BeanCreationException.new, dire_di.BeanCreationException.beanName, dire_di.BeanCreationException.cause.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Android
Because:
package:dire_di/dire_di.dartthat imports:package:dire_di/src/utils/reflection_utils.dartthat imports:dart:mirrors
Package not compatible with platform iOS
Because:
package:dire_di/dire_di.dartthat imports:package:dire_di/src/utils/reflection_utils.dartthat imports:dart:mirrors
Package not compatible with platform Web
Because:
package:dire_di/dire_di.dartthat imports:package:dire_di/src/utils/reflection_utils.dartthat imports:dart:mirrors
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 68 issues. Showing the first 2:
INFO: Constructor declarations should be before non-constructor declarations.
lib/src/annotations/autowired.dart:27:9
╷
27 │ const Autowired({this.required = true});
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/annotations/autowired.dart
INFO: Constructor declarations should be before non-constructor declarations.
lib/src/annotations/bean.dart:33:9
╷
33 │ const Bean({
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/annotations/bean.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.17.0 |
1.19.1 | 1.19.1 | |
meta |
^1.9.0 |
1.18.3 | 1.18.3 |
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.12, Dart 3.12.2.
Check the analysis log for details.