dd_js_util 2.2.8 copy "dd_js_util: ^2.2.8" to clipboard
dd_js_util: ^2.2.8 copied to clipboard

梁典典的常用工具类封装

1
likes
65/ 140
pub points
74%
popularity

We analyzed this package 11 hours ago, and awarded it 65 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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.

5/5 points: Provide a valid README.md

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.

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

279 out of 757 API elements (36.9 %) have documentation comments.

Some symbols that are missing documentation: dd_js_util, dd_js_util.AppException.AppException.appError, dd_js_util.AppException.code, dd_js_util.AppException.AppException.create, dd_js_util.AppException.dioError.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:dd_js_util/dd_js_util.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:dd_js_util/dd_js_util.dart that declares support for platforms: Android, iOS, Windows, Web.

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

Package does not support platform `Windows`.

Because:

  • package:dd_js_util/dd_js_util.dart that imports:
  • package:image_gallery_saver/image_gallery_saver.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:dd_js_util/dd_js_util.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows.
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 65 issues. Showing the first 2:

ERROR: The argument type 'Null Function(dynamic, dynamic)' can't be assigned to the parameter type 'FResultCallback

lib/mixin/brocase/index.dart:13:70

   ╷
13 │       FBroadcast.systemInstance.register(WrapJsonBroadcase.value.text, (value, callback) {
   │ ┌──────────────────────────────────────────────────────────────────────^
14 │ │       if(value is WrapJson){
15 │ │         handleWrapJson(value);
16 │ │       }
17 │ │     });
   │ └─────^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/mixin/brocase/index.dart

ERROR: Missing concrete implementations of 'CupertinoLocalizations.datePickerStandaloneMonth', 'getter CupertinoLocalizations.clearButtonLabel', 'getter CupertinoLocalizations.lookUpButtonLabel', 'getter CupertinoLocalizations.menuDismissLabel', and 3 more.

lib/widget/date/custom_year_picker.dart:1262:7

     ╷
1262 │ class ZhCupertinoLocalizations implements CupertinoLocalizations {
     │       ^^^^^^^^^^^^^^^^^^^^^^^^
     ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/widget/date/custom_year_picker.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
cached_network_image ^3.2.3 3.3.1 3.3.1
common_utils ^2.1.0 2.1.0 2.1.0
diox ^5.0.0-dev.3 5.0.0 5.0.0
extended_image ^6.3.4 6.4.1 8.2.0
extended_image_library ^3.4.1 3.6.0 4.0.4
fbroadcast_nullsafety ^3.0.0 3.0.7 4.0.4
ffloat_nullsafety ^3.3.1 3.3.6 3.3.6
flex_color_scheme ^6.1.2 6.1.2 7.3.1
flutter flutter 0.0.0 0.0.0
flutter_cache_manager ^3.3.0 3.3.2 3.3.2
flutter_easyrefresh ^2.2.2 2.2.2 2.2.2
flutter_image_compress ^1.1.3 1.1.3 2.3.0
flutter_lints ^2.0.1 2.0.3 4.0.0
flutter_localizations flutter 0.0.0 0.0.0
flutter_screenutil ^5.6.0 5.9.1 5.9.1
flutter_smart_dialog ^4.8.2 4.9.7+4 4.9.7+4
flutter_swiper_null_safety_flutter3 ^3.0.0 3.0.1 4.0.3
flutter_web_plugins flutter 0.0.0 0.0.0
hive ^2.2.3 2.2.3 2.2.3
hive_flutter ^1.1.0 1.1.0 1.1.0
hooks_riverpod ^2.1.3 2.5.1 2.5.1
html ^0.15.1 0.15.4 0.15.4
image ^4.0.12 4.2.0 4.2.0
image_gallery_saver ^1.7.1 1.7.1 2.0.3
image_picker ^0.8.6+1 0.8.9 1.1.1
logger ^1.1.0 1.4.0 2.3.0
permission_handler ^10.2.0 10.4.5 11.3.1
riverpod ^2.1.3 2.5.1 2.5.1
url_launcher ^6.1.8 6.2.6 6.2.6
waterfall_flow ^3.0.2 3.0.3 3.0.3
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.0 3.6.0
async - 2.11.0 2.11.0
cached_network_image_platform_interface - 4.0.0 4.0.0
cached_network_image_web - 1.2.0 1.2.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
cross_file - 0.3.4+1 0.3.4+1
crypto - 3.0.3 3.0.3
csslib - 1.0.0 1.0.0
decimal - 2.3.3 2.3.3
extended_list_library - 3.0.0 3.0.0
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
file_selector_linux - 0.9.2+1 0.9.2+1
file_selector_macos - 0.9.4 0.9.4
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+1 0.9.3+1
fixnum - 1.1.0 1.1.0
flex_seed_scheme - 1.5.0 2.0.0
flutter_hooks - 0.20.5 0.20.5
flutter_plugin_android_lifecycle - 2.0.19 2.0.19
flutter_riverpod - 2.5.1 2.5.1
http - 1.2.1 1.2.1
http_client_helper - 3.0.0 3.0.0
http_parser - 4.0.2 4.0.2
image_picker_android - 0.8.12+1 0.8.12+1
image_picker_for_web - 2.2.0 3.0.4
image_picker_ios - 0.8.11+2 0.8.11+2
image_picker_linux - 0.2.1+1 0.2.1+1
image_picker_macos - 0.2.1+1 0.2.1+1
image_picker_platform_interface - 2.10.0 2.10.0
image_picker_windows - 0.2.1+1 0.2.1+1
intl - 0.19.0 0.19.0
js - 0.6.7 0.7.1
lints - 2.1.1 4.0.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
mime - 1.0.5 1.0.5
octo_image - 2.0.0 2.0.0
path - 1.9.0 1.9.0
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.4.0 2.4.0
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
permission_handler_android - 10.3.6 12.0.6
permission_handler_apple - 9.1.4 9.4.4
permission_handler_platform_interface - 3.12.0 4.2.1
permission_handler_windows - 0.1.3 0.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
rational - 2.2.2 2.2.2
rxdart - 0.27.7 0.27.7
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqflite - 2.3.3+1 2.3.3+1
sqflite_common - 2.5.4 2.5.4
stack_trace - 1.11.1 1.11.1
state_notifier - 1.0.0 1.0.0
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.2 6.3.2
url_launcher_ios - 6.3.0 6.3.0
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.2.0 3.2.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
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.1 5.5.1
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0

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

Found 11 issues. Showing the first 2:

The constraint `^6.3.4` on extended_image does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions extended_image to update the constraint.

The constraint `^3.4.1` on extended_image_library does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions extended_image_library to update the constraint.

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

Analyzed with Pana 0.22.3, Flutter 3.22.0, Dart 3.4.0.

Check the analysis log for details.