mhu_dart_commons 1.0.9 copy "mhu_dart_commons: ^1.0.9" to clipboard
mhu_dart_commons: ^1.0.9 copied to clipboard

Common utilities used in my Dart and Flutter projects

1
likes
90/ 140
pub points
0%
popularity

We analyzed this package 2 days ago, and awarded it 90 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

225 out of 875 API elements (25.7 %) have documentation comments.

Some symbols that are missing documentation: builder, builder.mhuDartCommonPath, commons, commons.AcquireX, commons.AcquireX.andPerform.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:mhu_dart_commons/builder.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 26 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/isar.freezed.dart:127:17

    ╷
127 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/isar.freezed.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/parse.freezed.dart:83:17

   ╷
83 │   bool operator ==(dynamic other) {
   │                 ^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/parse.freezed.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.17.1 1.18.0 1.18.0
cross_file ^0.3.3+4 0.3.4+1 0.3.4+1
decimal ^2.3.3 2.3.3 2.3.3
fast_immutable_collections ^9.1.5 9.2.1 10.2.2
fixnum ^1.1.0 1.1.0 1.1.0
freezed_annotation ^2.4.1 2.4.1 2.4.1
intl ^0.18.1 0.18.1 0.19.0
isar ^3.1.0+1 3.1.0+1 3.1.0+1
logger ^1.4.0 1.4.0 2.2.0
path ^1.8.3 1.9.0 1.9.0
protobuf ^3.0.0 3.1.0 3.1.0
recase ^4.1.0 4.1.0 4.1.0
rxdart ^0.27.7 0.27.7 0.27.7
timeago ^3.5.0 3.6.1 3.6.1
Transitive dependencies
Package Constraint Compatible Latest
clock - 1.1.1 1.1.1
ffi - 2.1.2 2.1.2
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
meta - 1.14.0 1.14.0
rational - 2.2.2 2.2.2
web - 0.5.1 0.5.1

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

Found 3 issues. Showing the first 2:

The constraint `^9.1.5` on fast_immutable_collections does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions fast_immutable_collections to update the constraint.

The constraint `^0.18.1` on intl does not support the stable version `0.19.0`.

Try running dart pub upgrade --major-versions intl to update the constraint.

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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.