redux_logging 0.4.0

Dart native js
Flutter Android iOS web

Redux.dart Middleware that prints the latest action & state

11
likes
80 / 110
pub points
94 %
popularity

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

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 10 out of 12 API elements (83.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 5 issues. Showing the first 2:

INFO: Unnecessary new keyword.

lib/redux_logging.dart:74:32

   ╷
74 │   }) : this.logger = logger ?? new Logger("LoggingMiddleware");
   │                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: Unnecessary new keyword.

lib/redux_logging.dart:83:24

   ╷
83 │       final middleware = new LoggingMiddleware<State>(
   │ ┌────────────────────────^
84 │ │       logger: logger,
85 │ │       level: level,
86 │ │       formatter: formatter,
87 │ │     );
   │ └─────^
   ╵

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
logging>=0.11.3 <0.12.00.11.40.11.4
redux>=4.0.0 <5.0.04.0.0+34.0.0+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

11
likes
80
pub points
94%
popularity

Redux.dart Middleware that prints the latest action & state

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

brian@brianegan.com

License

MIT (LICENSE)

Dependencies

logging, redux

More

Packages that depend on redux_logging