witsystem_core 0.1.7 copy "witsystem_core: ^0.1.7" to clipboard
witsystem_core: ^0.1.7 copied to clipboard

witsystem 核心包,提供核心功能

0
likes
55/ 140
pub points
0%
popularity

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

failed
Follow Dart file conventions
5 / 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.

* `pubspec.yaml` doesn't have a `homepage` entry. * `pubspec.yaml` doesn't have a `repository` entry.

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.

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

334 out of 532 API elements (62.8 %) have documentation comments.

Some symbols that are missing documentation: AES, AES.AESUtil, AES.AESUtil.AESUtil, AutoErrorHandle, AutoErrorHandle.AutoErrorHandle.auto.

10/10 points: Package has 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:witsystem_core/witsystem_core.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

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

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

Found 57 issues. Showing the first 2:

ERROR: A value of type 'QrImage' can't be returned from the method 'build' because it has a return type of 'Widget'.

lib/pages/code/WitsQrIamge.dart:60:12

   ╷
60 │       return QrImage(
   │ ┌────────────^
61 │ │       data: widget.data,
62 │ │       size: widget.size,
63 │ │       backgroundColor: widget.backgroundColor,
64 │ │       foregroundColor: widget.foregroundColor,
65 │ │       version: widget.version,
66 │ │       errorCorrectionLevel: widget.errorCorrectionLevel,
67 │ │       errorStateBuilder: widget.errorStateBuilder,
68 │ │       padding: widget.padding,
69 │ │       constrainErrorBounds: widget.constrainErrorBounds,
70 │ │       gapless: widget.gapless,
71 │ │       embeddedImage: widget.embeddedImage,
72 │ │       embeddedImageStyle: widget.embeddedImageStyle,
   │ └──────────────────────────────────────────────^
   ╵

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

ERROR: 1 positional argument expected by 'QrImage.new', but 0 found.

lib/pages/code/WitsQrIamge.dart:61:7

   ╷
61 │       data: widget.data,
   │       ^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/pages/code/WitsQrIamge.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
barcode_scan2 ^4.2.1 4.3.0 4.3.0
dio ^4.0.4 4.0.6 5.4.3+1
encrypt ^5.0.1 5.0.3 5.0.3
flutter flutter 0.0.0 0.0.0
flutter_easyloading ^3.0.5 3.0.5 3.0.5
image_gallery_saver ^1.7.1 1.7.1 2.0.3
image_picker ^0.8.5 0.8.9 1.1.1
intl ^0.17.0 0.17.0 0.19.0
mqtt_client ^9.6.6 9.8.1 10.2.1
path_provider ^2.0.9 2.1.3 2.1.3
permission_handler ^9.2.0 9.2.0 11.3.1
pointycastle ^3.5.1 3.9.0 3.9.0
qr_flutter ^4.0.0 4.1.0 4.1.0
shared_preferences ^2.0.13 2.2.3 2.2.3
syncfusion_flutter_pdfviewer ^20.1.47-beta 20.4.54 25.1.42
typed_data ^1.3.0 1.3.2 1.3.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
asn1lib - 1.5.2 1.5.2
async - 2.11.0 2.11.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
event_bus - 2.0.0 2.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.3+3 0.9.3+3
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
flutter_plugin_android_lifecycle - 2.0.19 2.0.19
flutter_spinkit - 5.2.1 5.2.1
flutter_web_plugins - 0.0.0 0.0.0
http - 0.13.6 1.2.1
http_parser - 4.0.2 4.0.2
image_picker_android - 0.8.11 0.8.11
image_picker_for_web - 2.2.0 3.0.4
image_picker_ios - 0.8.10+1 0.8.10+1
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
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
mime - 1.0.5 1.0.5
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
permission_handler_android - 9.0.2+1 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
protobuf - 3.1.0 3.1.0
qr - 3.0.1 3.0.1
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
syncfusion_flutter_core - 20.4.54 25.1.42
syncfusion_flutter_pdf - 20.4.54 25.1.42
syncfusion_pdfviewer_macos - 20.4.54 25.1.42
syncfusion_pdfviewer_platform_interface - 20.4.54 25.1.42
syncfusion_pdfviewer_web - 20.4.54 25.1.42
syncfusion_pdfviewer_windows - 20.4.54 25.1.42
term_glyph - 1.2.1 1.2.1
url_launcher - 6.2.6 6.2.6
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
uuid - 3.0.7 4.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.0 5.5.0
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 7 issues. Showing the first 2:

The constraint `^4.0.4` 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.7.1` on image_gallery_saver does not support the stable version `2.0.1`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.