mini_tools 3.0.2
mini_tools: ^3.0.2 copied to clipboard
A pure dart tool class, including file tools, sp tools, etc.
We analyzed this package 40 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.dart
that imports:package:mini_tools/src/storage/file_util.dart
that imports:package:flutter_image_compress/flutter_image_compress.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:mini_tools/mini_tools.dart
that imports:package:mini_tools/src/storage/file_util.dart
that imports:package:flutter_image_compress/flutter_image_compress.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Web`.
Because:
package:mini_tools/mini_tools.dart
that imports:package:mini_tools/src/storage/file_util.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:mini_tools/mini_tools.dart
that imports:package:mini_tools/src/storage/file_util.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: 'red' is deprecated and shouldn't be used. Use (*.r * 255.0).round() & 0xff.
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() & 0xff.
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.8.0+1 | 5.8.0+1 | |
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.3 | 2.5.3 | |
synchronized |
^3.0.0 |
3.4.0 | 3.4.0 | |
url_launcher |
^6.3.0 |
6.3.1 | 6.3.1 |
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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.