zone_di 1.0.0

Dart native js
Flutter Android iOS web

Dependency injection with a functional API that works without code generation, mirrors or passing around Injector objects.

0
likes
100 / 110
pub points
0 %
popularity

We analyzed this package on Oct 28, 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/main.dart

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

  • 7 out of 15 API elements (46.7 %) 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

INFO: 'CastError' is deprecated and shouldn't be used. Use TypeError instead.

lib/src/zone_di.dart:43:15

   ╷
43 │ /// Throws a [CastError] if [values] contains a (`Token<T>`, value) pair where
   │               ^^^^^^^^^
   ╵

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

INFO: 'CastError' is deprecated and shouldn't be used. Use TypeError instead.

lib/src/zone_di.dart:88:52

   ╷
88 │ /// Each factory is called at most once. Throws a [CastError] if a factory
   │                                                    ^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/zone_di.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.71.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

0
likes
100
pub points
0%
popularity

Dependency injection with a functional API that works without code generation, mirrors or passing around Injector objects.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

philippschiffmann93@gmail.com

License

MIT (LICENSE)

Dependencies

meta

More

Packages that depend on zone_di