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

witsystem 核心包,提供核心功能

75/ 160
pub points
17
downloads

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

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

Failed check 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 50 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.

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.

Failed check 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

334 out of 560 API elements (59.6 %) have documentation comments.

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

Passed check 10/10 points: Package has an example

Passed 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: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 report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 91 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 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
barcode_scan2 ^4.2.1 4.6.0 4.6.0
dio ^4.0.4 4.0.6 5.9.0
encrypt ^5.0.1 5.0.3 5.0.3
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.2.1
intl ^0.17.0 0.17.0 0.20.2
mqtt_client ^9.6.6 9.8.1 10.11.4
path_provider ^2.0.9 2.1.5 2.1.5
permission_handler ^9.2.0 9.2.0 12.0.1
pointycastle ^3.5.1 3.9.1 4.0.0
qr_flutter ^4.0.0 4.1.0 4.1.0
shared_preferences ^2.0.13 2.5.4 2.5.4
syncfusion_flutter_pdfviewer ^20.1.47-beta 20.4.54 32.1.22
typed_data ^1.3.0 1.4.0 1.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
cross_file - 0.3.5+1 0.3.5+1
crypto - 3.0.7 3.0.7
event_bus - 2.0.1 2.0.1
ffi - 2.1.5 2.1.5
file - 7.0.1 7.0.1
file_selector_linux - 0.9.4 0.9.4
file_selector_macos - 0.9.5 0.9.5
file_selector_platform_interface - 2.7.0 2.7.0
file_selector_windows - 0.9.3+5 0.9.3+5
fixnum - 1.1.1 1.1.1
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
flutter_spinkit - 5.2.2 5.2.2
http - 0.13.6 1.6.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.13+10 0.8.13+10
image_picker_for_web - 2.2.0 3.1.1
image_picker_ios - 0.8.13+3 0.8.13+3
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
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mime - 1.0.6 2.0.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
permission_handler_android - 9.0.2+1 13.0.1
permission_handler_apple - 9.1.4 9.4.7
permission_handler_platform_interface - 3.12.0 4.3.0
permission_handler_windows - 0.1.3 0.2.1
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
protobuf - 6.0.0 6.0.0
qr - 3.0.2 3.0.2
shared_preferences_android - 2.4.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
syncfusion_flutter_core - 20.4.54 32.1.22
syncfusion_flutter_pdf - 20.4.54 32.1.22
syncfusion_pdfviewer_macos - 20.4.54 32.1.22
syncfusion_pdfviewer_platform_interface - 20.4.54 32.1.22
syncfusion_pdfviewer_web - 20.4.54 32.1.22
syncfusion_pdfviewer_windows - 20.4.54 32.1.22
term_glyph - 1.2.2 1.2.2
url_launcher - 6.3.2 6.3.2
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.3.6 6.3.6
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.5 3.1.5
uuid - 3.0.7 4.5.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

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

Found 8 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.

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.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: