sparrow_utils 0.13.0 copy "sparrow_utils: ^0.13.0" to clipboard
sparrow_utils: ^0.13.0 copied to clipboard

Sparrow Utils Library for Flutter.

120/ 160
pub points
63
downloads

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

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

Failed check 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 50 to 180 characters to describe the package, what it does, and its target use case.

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

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

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

Detected license: BSD-3-Clause.

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

127 out of 274 API elements (46.4 %) have documentation comments.

Some symbols that are missing documentation: sparrow_utils, sparrow_utils.DateFormat.ABBR_MONTH_DAY, sparrow_utils.DateFormat.ABBR_MONTH_WEEKDAY_DAY, sparrow_utils.DateFormat.ABBR_QUARTER, sparrow_utils.DateFormat.ABBR_STANDALONE_MONTH.

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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 12 issues. Showing the first 2:

INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.

lib/src/collection_utils.dart:23:9

   ╷
23 │     if (result.length > 0) {
   │         ^^^^^^^^^^^^^^^^^
   ╵

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

INFO: Empty catch block.

lib/src/datetime_utils.dart:233:17

    ╷
233 │     } catch (e) {}
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/datetime_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
enum_to_string ^2.0.1 2.2.1 2.2.1
flutter_screenutil ^5.9.0 5.9.3 5.9.3
intl ^0.18.1 0.18.1 0.20.2
time ^2.1.4 2.1.5 2.1.5
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
vector_math - 2.2.0 2.2.0

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

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.

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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
120
points
63
downloads

Publisher

verified publishersparrow.team

Weekly Downloads

Sparrow Utils Library for Flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

enum_to_string, flutter, flutter_screenutil, intl, time

More

Packages that depend on sparrow_utils