dioc 0.1.6

Dart native js
Flutter Android iOS web

Inversion of control based on dependency injection through containers.

1
likes
100 / 110
pub points
81 %
popularity

We analyzed this package on Sep 24, 2020, and awarded it 100 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/dioc_example.dart

10/10 points: 20% or more of the public API has dartdoc comments

  • 13 out of 46 API elements (28.3 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 31 issues. Showing the first 2:

INFO: Don't explicitly initialize variables to null.

lib/src/built_container.dart:7:18

  ╷
7 │   const Inject({ this.name = null, this.creator = null, this.mode = InjectMode.singleton});
  │                  ^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/built_container.dart

INFO: Don't explicitly initialize variables to null.

lib/src/built_container.dart:7:36

  ╷
7 │   const Inject({ this.name = null, this.creator = null, this.mode = InjectMode.singleton});
  │                                    ^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/built_container.dart

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

No dependencies.

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

1
likes
100
pub points
81%
popularity

Inversion of control based on dependency injection through containers.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

alois.deniel@gmail.com

License

MIT (LICENSE)

More

Packages that depend on dioc