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
47
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 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.

Failed check 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.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

31 out of 58 API elements (53.4 %) have documentation comments.

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

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 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 report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 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 report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
crypto ^3.0.3 3.0.6 3.0.6
intl ^0.18.0 0.18.1 0.20.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.5

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.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 19Aug 16Sep 13Oct 11Nov 8Dec 6Jan 3Jan 31Feb 28Mar 280510152025>=0.0.0-0 <1.0.0
1
likes
110
points
47
downloads

Publisher

unverified uploader

Weekly Downloads

2024.10.04 - 2025.04.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