fairy_flutter_utils 0.0.1-dev copy "fairy_flutter_utils: ^0.0.1-dev" to clipboard
fairy_flutter_utils: ^0.0.1-dev copied to clipboard

discontinued

Flutter package util工具类,包含日期时间,数字,定时器,字符串,集合,货币,正则表达式,集合,签名等工具的封装.

65/ 160
pub points
29
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: fairy_flutter_utils.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: fairy_flutter_utils,
    • contains a version property, and,
    • does not contain a publish_to property.

Passed check 5/5 points: Provide a valid README.md

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: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

131 out of 154 API elements (85.1 %) have documentation comments.

Some symbols that are missing documentation: fairy_flutter_utils, fairy_flutter_utils.EncryptUtil.EncryptUtil.new, fairy_flutter_utils.KString, fairy_flutter_utils.KString.KString.new, fairy_flutter_utils.KString.day.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 15 issues. Showing the first 2:

ERROR: The method 'toInt' isn't defined for the type 'Decimal'.

lib/src/money_util.dart:72:51

   ╷
72 │     return NumUtil.multiplyDecStr(yuanStr, '100').toInt();
   │                                                   ^^^^^
   ╵

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

ERROR: A value of type 'Rational' can't be returned from the method 'divideDecStr' because it has a return type of 'Decimal'.

lib/src/num_util.dart:232:12

    ╷
232 │     return Decimal.parse(a) / Decimal.parse(b);
    │            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/num_util.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
convert >=3.0.0 <5.0.0 3.1.2 3.1.2
crypto >=3.0.0 <5.0.0 3.0.7 3.0.7
decimal >=1.0.0 <3.0.0 2.3.3 3.2.4
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
rational - 2.2.3 2.2.3
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.3.0

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

The constraint `>=1.0.0 <3.0.0` on decimal does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions decimal 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.23.11, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
65
points
29
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter package util工具类,包含日期时间,数字,定时器,字符串,集合,货币,正则表达式,集合,签名等工具的封装.

License

Apache-2.0 (license)

Dependencies

convert, crypto, decimal, flutter

More

Packages that depend on fairy_flutter_utils