cry 2.2.0 copy "cry: ^2.2.0" to clipboard
cry: ^2.2.0 copied to clipboard

一个Flutter组件库,参考https://github.com/cairuoyu/flutter_admin

115/ 160
pub points
379
downloads

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

Failed report section
Follow Dart file conventions
15 / 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.

Homepage URL doesn't exist.

At the time of the analysis http://www.cairuoyu.com:81/ was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

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: BSD-2-Clause.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

90 out of 491 API elements (18.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: common.ApplicationContext.addBean, common.ApplicationContext.beanMap, common.ApplicationContext.cameras, common.ApplicationContext.convertVariable, common.ApplicationContext.getBean.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:cry/common.dart that imports:
  • package:cry/src/common/page_404.dart that imports:
  • package:cry/widgets.dart that imports:
  • package:cry/src/widgets/cry_image_upload.dart that imports:
  • package:cry/utils.dart that imports:
  • package:cry/src/utils/cry_util.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:cry/common.dart that imports:
  • package:cry/src/common/page_404.dart that imports:
  • package:cry/widgets.dart that imports:
  • package:cry/src/widgets/cry_image_upload.dart that imports:
  • package:cry/utils.dart that imports:
  • package:cry/src/utils/cry_util.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:cry/common.dart that imports:
  • package:cry/src/common/page_404.dart that imports:
  • package:cry/widgets.dart that imports:
  • package:cry/src/widgets/cry_image_upload.dart that imports:
  • package:cry/utils.dart that imports:
  • package:cry/src/utils/cry_util.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:cry/common.dart that imports:
  • package:cry/src/common/page_404.dart that imports:
  • package:cry/widgets.dart that imports:
  • package:cry/src/widgets/cry_file.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/linux/file_picker_linux.dart that imports:
  • package:dbus/dbus.dart that declares support for platforms: Windows, Linux.

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

Package does not support platform `Android`.

Because:

  • package:cry/common.dart that imports:
  • package:cry/src/common/page_404.dart that imports:
  • package:cry/widgets.dart that imports:
  • package:cry/src/widgets/cry_file.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:cry/common.dart that imports:
  • package:cry/src/common/page_404.dart that imports:
  • package:cry/widgets.dart that imports:
  • package:cry/src/widgets/cry_file.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:cry/common.dart that imports:
  • package:cry/src/common/page_404.dart that imports:
  • package:cry/widgets.dart that imports:
  • package:cry/src/widgets/cry_image_upload.dart that imports:
  • package:cry/utils.dart that imports:
  • package:cry/src/utils/logger_util.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 223 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/common.dart:1:1

  ╷
1 │ /// @author: cairuoyu
  │ ^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: Dangling library doc comment.

lib/constants.dart:1:1

  ╷
1 │ /// @author: cairuoyu
  │ ^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest Notes
camera ^0.11.1 0.11.3 0.11.3
date_format ^2.0.2 2.0.9 2.0.9
dio ^5.8.0+1 5.9.0 5.9.0
file_picker ^10.3.3 10.3.3 10.3.3
flutter_markdown ^0.7.6+2 0.7.7+1 0.7.7+1 Discontinued
fluttertoast ^9.0.0 9.0.0 9.0.0
global_configuration ^2.0.0 2.0.0 2.0.0
image ^4.5.4 4.5.4 4.5.4
image_picker ^1.1.2 1.2.0 1.2.0
image_picker_for_web ^3.0.6 3.1.0 3.1.0
intl ^0.20.2 0.20.2 0.20.2
logger ^2.5.0 2.6.2 2.6.2
quiver ^3.0.0 3.2.2 3.2.2
yaml ^3.1.0 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
camera_android_camerax - 0.6.24 0.6.24
camera_avfoundation - 0.9.22+4 0.9.22+4
camera_platform_interface - 2.11.0 2.11.0
camera_web - 0.3.5 0.3.5
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
cross_file - 0.3.5 0.3.5
crypto - 3.0.6 3.0.6
dbus - 0.7.11 0.7.11
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
file_selector_linux - 0.9.3+2 0.9.3+2
file_selector_macos - 0.9.4+5 0.9.4+5
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+4 0.9.3+4
flutter_plugin_android_lifecycle - 2.0.32 2.0.32
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.13+7 0.8.13+7
image_picker_ios - 0.8.13+1 0.8.13+1
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2+1 0.2.2+1
image_picker_platform_interface - 2.11.1 2.11.1
image_picker_windows - 0.2.2 0.2.2
markdown - 7.3.0 7.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.3 6.0.3
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.7 0.7.7
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
xml - 6.6.1 6.6.1

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • flutter_markdown.

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.0, Flutter 3.35.7, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
7
likes
115
points
379
downloads

Publisher

unverified uploader

Weekly Downloads

一个Flutter组件库,参考https://github.com/cairuoyu/flutter_admin

Homepage

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

camera, date_format, dio, file_picker, flutter, flutter_localizations, flutter_markdown, fluttertoast, global_configuration, image, image_picker, image_picker_for_web, intl, logger, quiver, yaml

More

Packages that depend on cry