simply_injector 0.1.4

Dart native js
Flutter Android iOS web

An easy-to-use Dependency Injection (DI) library for Dart, inspired and based on Simple Injector library. It is easily integrated with Flutter.

1
likes
90 / 110
pub points
13 %
popularity

We analyzed this package on Sep 25, 2020, and awarded it 90 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
10 / 20

10/10 points: Package has an example

  • Found example at: example/main.dart

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

  • 9 out of 46 API elements (19.6 %) 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.

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 13 issues. Showing the first 2:

INFO: The declaration '_' isn't referenced.

lib/src/Container.dart:15:26

   ╷
15 │   factory SimplyInjector._() => null;
   │                          ^
   ╵

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

INFO: Unnecessary new keyword.

lib/src/Container.dart:19:5

   ╷
19 │     new _Container();
   │     ^^^^^^^^^^^^^^^^
   ╵

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
meta^1.1.61.2.31.2.3

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
90
pub points
13%
popularity

An easy-to-use Dependency Injection (DI) library for Dart, inspired and based on Simple Injector library. It is easily integrated with Flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploaders

lamkrodrigues@gmail.com
flutuate.io@gmail.com

License

BSD (LICENSE)

Dependencies

meta

More

Packages that depend on simply_injector