mini_tools 2.0.0 mini_tools: ^2.0.0 copied to clipboard
A pure dart tool class, including file tools, sp tools, etc.
We analyzed this package 31 hours ago, and awarded it 90 pub points (of a possible 140):
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
102 out of 137 API elements (74.5 %) have documentation comments.
Some symbols that are missing documentation: mini_tools
, mini_tools.Decimal
, mini_tools.Decimal.operator %
, mini_tools.Decimal.operator *
, mini_tools.Decimal.operator +
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:mini_tools/mini_tools.dart
that imports:package:mini_tools/src/file_util.dart
that imports:package:flutter_image_compress/flutter_image_compress.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:mini_tools/mini_tools.dart
that imports:package:mini_tools/src/file_util.dart
that imports:package:flutter_image_compress/flutter_image_compress.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:mini_tools/mini_tools.dart
that imports:package:mini_tools/src/file_util.dart
that imports:package:flutter_image_compress/flutter_image_compress.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:mini_tools/mini_tools.dart
that imports:package:mini_tools/src/file_util.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
WARNING: Duplicate export.
lib/mini_tools.dart:11:8
╷
11 │ export 'src/url_util.dart';
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/mini_tools.dart
WARNING: The operand can't be null, so the condition is always 'false'.
lib/src/num/num_util.dart:41:18
╷
41 │ return value == null || value == 0;
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/num/num_util.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
dio |
^4.0.0 |
4.0.6 | 5.4.3+1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_image_compress |
^1.1.0 |
1.1.3 | 2.2.0 |
path_provider |
^2.0.2 |
2.1.3 | 2.1.3 |
rational |
^1.2.1 |
1.2.1 | 2.2.2 |
shared_preferences |
^2.0.6 |
2.2.3 | 2.2.3 |
synchronized |
^3.0.0 |
3.1.0+1 | 3.1.0+1 |
url_launcher |
^6.0.9 |
6.2.6 | 6.2.6 |
uuid |
^3.0.4 |
3.0.7 | 4.4.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `^4.0.0` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio
to update the constraint.
The constraint `^1.1.0` on flutter_image_compress does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_image_compress
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.19.5
, Dart 3.3.3
.
Check the analysis log for details.