srcker_utils 0.1.6 copy "srcker_utils: ^0.1.6" to clipboard
srcker_utils: ^0.1.6 copied to clipboard

常用工具类

60/ 160
pub points
10
downloads

We analyzed this package 3 days ago, and awarded it 60 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 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.

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` does not contain reference to the current version ("0.1.6").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: Apache-2.0.

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

204 out of 334 API elements (61.1 %) have documentation comments.

Some symbols that are missing documentation: color_utils, color_utils.ColorUtils, color_utils.ColorUtils.ColorUtils.new, color_utils.ColorUtils.hexToColor, date_time_formats.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:srcker_utils/flutter_utils.dart that imports:
  • package:srcker_utils/image/image_utils.dart that imports:
  • dart:io
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 36 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'keyborad_input.dart'.

lib/keyboard/keyboard_dialog.dart:5:8

  ╷
5 │ import 'keyborad_input.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^
  ╵

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

ERROR: The name 'KeyBoardInput' isn't a type, so it can't be used as a type argument.

lib/keyboard/keyboard_dialog.dart:50:23

   ╷
50 │     static final List<KeyBoardInput> _keyboardInputList = [
   │                       ^^^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
20 / 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
vector_math ^2.1.4 2.2.0 2.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.1

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 11 errors:

  • URI_DOES_NOT_EXIST - lib/keyboard/keyboard_dialog.dart:5:8 - Target of URI doesn't exist: 'keyborad_input.dart'.
  • NON_TYPE_AS_TYPE_ARGUMENT - lib/keyboard/keyboard_dialog.dart:50:23 - The name 'KeyBoardInput' isn't a type, so it can't be used as a type argument.
  • UNDEFINED_METHOD - lib/keyboard/keyboard_dialog.dart:51:9 - The method 'KeyBoardInput' isn't defined for the type '_KeyBoardDialogState'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.9, Flutter 3.38.9, Dart 3.10.8.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
60
points
10
downloads

Publisher

unverified uploader

Weekly Downloads

常用工具类

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, vector_math

More

Packages that depend on srcker_utils