lib_common_fx 0.0.42 copy "lib_common_fx: ^0.0.42" to clipboard
lib_common_fx: ^0.0.42 copied to clipboard

fx 共用库.

0
likes
65/ 140
pub points
0%
popularity

We analyzed this package 21 hours ago, and awarded it 65 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.

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.

failed
Provide documentation
0 / 20trigger folding of the section

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

102 out of 519 API elements (19.7 %) 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.

Some symbols that are missing documentation: base_entity, base_entity.BaseEntity, base_entity.BaseEntity.BaseEntity, base_entity.BaseEntity.getId, base_entity.BaseEntity.getName.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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:lib_common_fx/lib_common_fx.dart that imports:
  • package:lib_common_fx/network/config_interface.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 78 issues. Showing the first 2:

WARNING: Unused import: 'package:lib_common_fx/utils/log_util.dart'.

lib/network/client.dart:9:8

  ╷
9 │ import 'package:lib_common_fx/utils/log_util.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: FxPlatformView.viewType, FxPlatformView.onReceivedCall, FxPlatformView.onChannelCreate

lib/ui/fx_platform_view.dart:6:7

  ╷
6 │ class FxPlatformView extends StatefulWidget {
  │       ^^^^^^^^^^^^^^
  ╵

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

OK
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
decimal 1.5.0 1.5.0 2.3.3
dio ^4.0.6 4.0.6 5.4.3+1
flutter flutter 0.0.0 0.0.0
image_picker any 1.1.1 1.1.1
intl ^0.17.0 0.17.0 0.19.0
oktoast ^3.1.5 3.4.0 3.4.0
photo_view ^0.14.0 0.14.0 0.15.0
Transitive dependencies
Package Constraint Compatible Latest
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
cross_file - 0.3.4+1 0.3.4+1
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
flutter_plugin_android_lifecycle - 2.0.19 2.0.19
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
image_picker_android - 0.8.11 0.8.11
image_picker_for_web - 3.0.4 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
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.15.0
mime - 1.0.5 1.0.5
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
rational - 1.2.1 2.2.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
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1

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

Found 4 issues. Showing the first 2:

The constraint `1.5.0` on decimal does not support the stable version `2.0.0`.

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

The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions dio 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.

0
likes
65
pub points
0%
popularity

Publisher

unverified uploader

fx 共用库.

Homepage

Documentation

API reference

License

unknown (LICENSE)

Dependencies

decimal, dio, flutter, image_picker, intl, oktoast, photo_view

More

Packages that depend on lib_common_fx