byte_size 2.1.0-nullsafety.0
byte_size: ^2.1.0-nullsafety.0 copied to clipboard
ByteSize is a library that handles how byte sizes are represented and an easy to use interface to convert to other forms of representation also taking locale into consideration.
We analyzed this package 8 hours ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
60 out of 66 API elements (90.9 %) have documentation comments.
Some symbols that are missing documentation: byte_size, byte_size.ArgumentNullException.ArgumentNullException.new, byte_size.ArgumentNullException.cause, byte_size.FormatException.FormatException.new, byte_size.FormatException.cause.
10/10 points: Package has an example
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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 54 issues. Showing the first 2:
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/byte_size_base.dart:577:17
╷
577 │ bool operator ==(dynamic bs) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/byte_size_base.dart
INFO: The variable name '_Bits' isn't a lowerCamelCase identifier.
lib/src/byte_size_base.dart:103:12
╷
103 │ late int _Bits;
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/byte_size_base.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
intl |
^0.17.0-nullsafety.2 |
0.17.0 | 0.20.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
clock |
- | 1.1.2 | 1.1.2 | |
path |
- | 1.9.1 | 1.9.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.17.0-nullsafety.2` 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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.5, Dart 3.10.7.
Check the analysis log for details.