dart_hydrologis_utils 0.6.1 icon indicating copy to clipboard operation
dart_hydrologis_utils: ^0.6.1 copied to clipboard

Common dart utilities lib for our projects.

1
likes
100/ 140
pub points
68%
popularity

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

icon indicating section status
Follow Dart file conventions
20 / 30icon to trigger 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: BSD-3-Clause.

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

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

  • 103 out of 402 API elements (25.6 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger 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:dart_hydrologis_utils/dart_hydrologis_utils.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 20 issues. Showing the first 2:

INFO: Using a colon as a separator before a default value is deprecated and will not be supported in language version 3.0 and later.

lib/src/com/hydrologis/dart_utils/files.dart:170:38

    ╷
170 │   static File getTmpFile(ext, {prefix: 'tmp_', postfix}) {
    │                                      ^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/com/hydrologis/dart_utils/files.dart

INFO: Unnecessary type check; the result is always 'true'.

lib/src/com/hydrologis/dart_utils/files.dart:289:9

    ╷
289 │     if (channel is RandomAccessFile) {
    │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/com/hydrologis/dart_utils/files.dart

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
image^3.2.03.3.04.0.13
intl>=0.16.1 <=0.17.00.17.00.18.0
path^1.8.21.8.31.8.3
xml^6.1.06.2.26.2.2
Transitive dependencies
PackageConstraintCompatibleLatest
archive-3.3.63.3.6
clock-1.1.11.1.1
collection-1.17.11.17.1
convert-3.1.13.1.1
crypto-3.0.23.0.2
js-0.6.70.6.7
meta-1.9.01.9.0
petitparser-5.1.05.1.0
pointycastle-3.6.23.6.2
typed_data-1.3.11.3.1

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

The constraint `^3.2.0` on image does not support the stable version `4.0.0`.

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

The constraint `>=0.16.1 <=0.17.0` on intl does not support the stable version `0.18.0`.

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

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.25, Dart 2.19.1.

1
likes
100
pub points
68%
popularity

Publisher

verified publisher iconhydrologis.com

Common dart utilities lib for our projects.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

image, intl, path, xml

More

Packages that depend on dart_hydrologis_utils