z_tools 0.0.6 copy "z_tools: ^0.0.6" to clipboard
z_tools: ^0.0.6 copied to clipboard

Integrates some common tools used by flutter projects. Including computing widget size, some useful extensions like `Map.forceConvertMap`, `List.tryGet` and `String.isSafeEmpty`. It also includes base64 codec.

2
likes
120/ 160
pub points
55
downloads

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

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

0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

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.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

692 out of 725 API elements (95.4 %) have documentation comments.

Some symbols that are missing documentation: z_tools, z_tools.CalculateWidgetAppContainer, z_tools.CalculateWidgetAppContainer.CalculateWidgetAppContainer, z_tools.CalculateWidgetAppContainer.child, z_tools.CanonicalizedMap.retype.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

INFO: 'textScaleFactor' is deprecated and shouldn't be used. Use textScaler instead. Use of textScaleFactor was deprecated in preparation for the upcoming nonlinear text scaling support. This feature was deprecated after v3.12.0-2.0.pre.

lib/src/extensions/string.dart:60:13

   ╷
60 │             textScaleFactor: context != null ? MediaQuery.of(context).textScaleFactor : 1.0,
   │             ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/extensions/string.dart

INFO: 'textScaleFactor' is deprecated and shouldn't be used. Use textScaler instead. Use of textScaleFactor was deprecated in preparation for the upcoming nonlinear text scaling support. This feature was deprecated after v3.12.0-2.0.pre.

lib/src/extensions/string.dart:60:71

   ╷
60 │             textScaleFactor: context != null ? MediaQuery.of(context).textScaleFactor : 1.0,
   │                                                                       ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/extensions/string.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
collection any 1.19.0 1.19.1
flutter flutter 0.0.0 0.0.0
intl ^0.17.0 0.17.0 0.20.1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.17.0` 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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

2
likes
120
points
55
downloads

Publisher

unverified uploader

Weekly Downloads

Integrates some common tools used by flutter projects. Including computing widget size, some useful extensions like `Map.forceConvertMap`, `List.tryGet` and `String.isSafeEmpty`. It also includes base64 codec.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

collection, flutter, intl

More

Packages that depend on z_tools