mini_tools 3.0.1
mini_tools: ^3.0.1 copied to clipboard
A pure dart tool class, including file tools, sp tools, etc.
We analyzed this package 33 hours ago, and awarded it 150 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
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
138 out of 237 API elements (58.2 %) have documentation comments.
Some symbols that are missing documentation: mini_tools, mini_tools.ColorUtil.ColorUtil.new, mini_tools.Decimal, mini_tools.Decimal.Decimal.fromInt, mini_tools.Decimal.Decimal.parse.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:mini_tools/mini_tools.dartthat imports:package:mini_tools/src/storage/file_util.dartthat imports:package:flutter_image_compress/flutter_image_compress.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:mini_tools/mini_tools.dartthat imports:package:mini_tools/src/storage/file_util.dartthat imports:package:flutter_image_compress/flutter_image_compress.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Web`.
Because:
package:mini_tools/mini_tools.dartthat imports:package:mini_tools/src/storage/file_util.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: 'red' is deprecated and shouldn't be used. Use (*.r * 255.0).round().clamp(0, 255).
lib/src/util/colors_util.dart:23:19
╷
23 │ int r = color.red + changeValue;
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/util/colors_util.dart
INFO: 'green' is deprecated and shouldn't be used. Use (*.g * 255.0).round().clamp(0, 255).
lib/src/util/colors_util.dart:25:19
╷
25 │ int g = color.green + changeValue;
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/util/colors_util.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^5.4.3+1 |
5.9.0 | 5.9.0 | |
flutter_image_compress |
^2.3.0 |
2.4.0 | 2.4.0 | |
path_provider |
^2.1.3 |
2.1.5 | 2.1.5 | |
rational |
^2.2.3 |
2.2.3 | 2.2.3 | |
shared_preferences |
^2.2.3 |
2.5.4 | 2.5.4 | |
synchronized |
^3.0.0 |
3.4.0 | 3.4.0 | |
url_launcher |
^6.3.0 |
6.3.2 | 6.3.2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.