mini_tools 2.0.0 copy "mini_tools: ^2.0.0" to clipboard
mini_tools: ^2.0.0 copied to clipboard

A pure dart tool class, including file tools, sp tools, etc.

0
likes
90/ 140
pub points
0%
popularity

We analyzed this package 5 days ago, and awarded it 90 pub points (of a possible 140):

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

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.

failed
Provide documentation
10 / 20trigger folding of the section

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.

OK
Platform support
20 / 20trigger folding of the section

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.
failed
Pass static analysis
30 / 50trigger folding of the section

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.0.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.2.2 2.2.2
shared_preferences_foundation - 2.3.5 2.3.5
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.4.0 5.4.0
xdg_directories - 1.0.4 1.0.4

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.

0
likes
90
pub points
0%
popularity

Publisher

unverified uploader

A pure dart tool class, including file tools, sp tools, etc.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

dio, flutter, flutter_image_compress, path_provider, rational, shared_preferences, synchronized, url_launcher, uuid

More

Packages that depend on mini_tools