h_basic_utils 0.1.0 copy "h_basic_utils: ^0.1.0" to clipboard
h_basic_utils: ^0.1.0 copied to clipboard

A dart package for many helper methods fitting different situations..

1
likes
110/ 160
pub points
32
downloads

We analyzed this package 6 days ago, and awarded it 110 pub points (of a possible 160):

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

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

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

31 out of 57 API elements (54.4 %) have documentation comments.

Some symbols that are missing documentation: h_basic_utils, h_basic_utils.MathUtils, h_basic_utils.MathUtils.MathUtils, h_basic_utils.MathUtils.celsiusToFahrenheit, h_basic_utils.MathUtils.kwToRt.

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 23 issues. Showing the first 2:

WARNING: The operand can't be 'null', so the condition is always 'true'.

lib/src/time_utils.dart:28:49

   
28          formatData.toString().substring(14, 16) != null) {
                                                    ^^^^^^^
   
copied to clipboard

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

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

lib/src/time_utils.dart:17:37

17static int getTimeStap({formatData: String}) {
   │                                     ^
   ╵
copied to clipboard

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
crypto ^3.0.3 3.0.6 3.0.6
flutter flutter 0.0.0 0.0.0
intl ^0.18.0 0.18.1 0.20.1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
sky_engine - 0.0.0 0.0.0
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4

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

The constraint `^0.18.0` 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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.18, Flutter 3.27.2, Dart 3.6.1.

Check the analysis log for details.

1
likes
110
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

2024.07.06 - 2025.01.18

A dart package for many helper methods fitting different situations..

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

crypto, flutter, intl

More

Packages that depend on h_basic_utils