Skip to main content

w_tools_core 1.0.1 copy "w_tools_core: ^1.0.1" to clipboard
w_tools_core: ^1.0.1 copied to clipboard

w_tools 的基础工具层:扩展方法、异步任务、校验、正则、加密、存储、日志、倒计时、平台判断与全局配置,零业务框架依赖。

100/ 160
pub points
144
downloads

We analyzed this package 44 hours ago, and awarded it 100 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

Failed check 0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

249 out of 255 API elements (97.6 %) have documentation comments.

Some symbols that are missing documentation: w_tools_core.Level.operator <, w_tools_core.Level.operator <=, w_tools_core.Level.operator >, w_tools_core.Level.operator >=, w_tools_core.Level.value.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:w_tools_core/w_tools_core.dart that imports:
  • package:w_tools_core/src/utils/token.dart that imports:
  • package:w_tools_core/src/utils/storage.dart that imports:
  • package:w_tools_core/src/utils/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:w_tools_core/w_tools_core.dart that imports:
  • package:w_tools_core/src/utils/token.dart that imports:
  • package:w_tools_core/src/utils/storage.dart that imports:
  • package:w_tools_core/src/utils/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

WARNING: Returning a 'Future' without 'await' inside a try block.

lib/src/utils/storage.dart:132:7

    ╷
132 │       return _prefs!.setString(key, jsonString);
    │       ^^^^^^
    ╵

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
convert ^3.1.2 3.1.2 3.1.2
crypto ^3.0.7 3.0.8 3.0.8
encrypt ^5.0.3 5.0.3 5.0.3
logger ^2.6.2 2.8.0 2.8.0
shared_preferences ^2.2.0 2.5.6 2.5.6
synchronized ^3.1.0 3.5.0 3.5.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
asn1lib - 1.6.8 1.6.8
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
code_assets - 2.1.0 2.1.0
collection - 1.19.1 1.19.1
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
hooks - 2.2.0 2.2.0
jni - 1.1.1 1.1.1
jni_util - 1.0.0 1.0.0
js - 0.7.2 0.7.2 Discontinued
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
objective_c - 9.6.2 9.6.2
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 4.0.0
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.1
shared_preferences_android - 2.5.4 2.5.4
shared_preferences_foundation - 2.6.1 2.6.1
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.4.4 2.4.4
web - 1.1.2 1.1.2
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.4 3.1.4

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.7, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
144
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

w_tools 的基础工具层:扩展方法、异步任务、校验、正则、加密、存储、日志、倒计时、平台判断与全局配置,零业务框架依赖。

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#flutter #utilities #extensions #validation #storage

License

MIT (license)

Dependencies

convert, crypto, encrypt, flutter, logger, shared_preferences, synchronized

More

Packages that depend on w_tools_core