flutter_chen_common 0.0.9 copy "flutter_chen_common: ^0.0.9" to clipboard
flutter_chen_common: ^0.0.9 copied to clipboard

A Flutter Common package For Helper and Widgets.

1
likes
100/ 160
pub points
0%
popularity

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

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

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

140 out of 482 API elements (29.0 %) have documentation comments.

Some symbols that are missing documentation: back_top_widget, back_top_widget.BackTopState, back_top_widget.BackTopState.BackTopState, back_top_widget.BackTopState.isShow, back_top_widget.BackTopWidget.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
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:flutter_chen_common/flutter_chen_common.dart that imports:
  • package:flutter_chen_common/widgets/widgets.dart that imports:
  • package:flutter_chen_common/widgets/base/com_swiper.dart that imports:
  • package:flutter_chen_common/widgets/base/com_image.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_chen_common/flutter_chen_common.dart that imports:
  • package:flutter_chen_common/widgets/widgets.dart that imports:
  • package:flutter_chen_common/widgets/base/com_swiper.dart that imports:
  • package:flutter_chen_common/widgets/base/com_image.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:flutter_chen_common/flutter_chen_common.dart that imports:
  • package:flutter_chen_common/common/helper/helper.dart that imports:
  • package:flutter_chen_common/common/helper/update_helper.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `Web`.

Because:

  • package:flutter_chen_common/flutter_chen_common.dart that imports:
  • package:flutter_chen_common/widgets/widgets.dart that imports:
  • package:flutter_chen_common/widgets/base/com_swiper.dart that imports:
  • package:flutter_chen_common/widgets/base/com_image.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/json_cache_info_repository.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

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:flutter_chen_common/flutter_chen_common.dart that imports:
  • package:flutter_chen_common/common/helper/helper.dart that imports:
  • package:flutter_chen_common/common/helper/update_helper.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:flutter_chen_common/flutter_chen_common.dart that imports:
  • package:flutter_chen_common/common/helper/helper.dart that imports:
  • package:flutter_chen_common/common/helper/update_helper.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_chen_common/flutter_chen_common.dart that imports:
  • package:flutter_chen_common/widgets/widgets.dart that imports:
  • package:flutter_chen_common/widgets/refresh/refresh_widget.dart that imports:
  • package:flutter_chen_common/widgets/refresh/refresh_controller.dart that imports:
  • package:get/get.dart that imports:
  • package:get/route_manager.dart that imports:
  • package:get/get_navigation/get_navigation.dart that imports:
  • package:get/get_navigation/src/root/get_material_app.dart that imports:
  • package:get/get_utils/get_utils.dart that imports:
  • package:get/get_utils/src/platform/platform.dart that imports:
  • package:get/get_utils/src/platform/platform_web.dart that imports:
  • dart:html

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.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: 'MaterialStateProperty' is deprecated and shouldn't be used. Use WidgetStateProperty instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/widgets/base/com_tabbar.dart:59:13

   ╷
59 │             MaterialStateProperty.resolveWith((Set<MaterialState> states) {
   │             ^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: 'MaterialState' is deprecated and shouldn't be used. Use WidgetState instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/widgets/base/com_tabbar.dart:59:52

   ╷
59 │             MaterialStateProperty.resolveWith((Set<MaterialState> states) {
   │                                                    ^^^^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest
bot_toast ^4.0.0 4.1.3 4.1.3
cached_network_image ^3.0.0 3.3.1 3.4.1
card_swiper ^3.0.0 3.0.1 3.0.1
cookie_jar ^4.0.0 4.0.8 4.0.8
crypto ^3.0.0 3.0.6 3.0.6
dio ^5.0.0 5.7.0 5.7.0
dio_cookie_manager ^3.0.0 3.1.1 3.1.1
flutter flutter 0.0.0 0.0.0
flutter_downloader ^1.0.0 1.11.8 1.11.8
flutter_screenutil ^5.0.0 5.9.3 5.9.3
flutter_staggered_grid_view ^0.7.0 0.7.0 0.7.0
get ^4.0.0 4.6.6 4.6.6
image_cropper ^4.0.0 4.0.1 8.0.2
image_gallery_saver ^2.0.0 2.0.3 2.0.3
image_picker ^1.0.0 1.1.2 1.1.2
logger ^1.0.0 1.4.0 2.4.0
multi_image_picker_view ^1.0.0 1.1.0 1.1.0
open_file ^3.0.0 3.5.4 3.5.9
package_info_plus ^5.0.0 5.0.1 8.1.1
path_provider ^2.0.0 2.1.5 2.1.5
permission_handler ^11.0.0 11.3.1 11.3.1
photo_view ^0.14.0 0.14.0 0.15.0
pull_to_refresh ^2.0.0 2.0.0 2.0.0
shared_preferences ^2.0.0 2.2.3 2.3.3
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
cached_network_image_platform_interface - 4.0.0 4.1.1
cached_network_image_web - 1.2.0 1.3.1
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
cross_file - 0.3.3+8 0.3.4+2
dio_web_adapter - 1.0.1 2.0.0
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
file_selector_linux - 0.9.3+1 0.9.3+1
file_selector_macos - 0.9.4+2 0.9.4+2
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+3 0.9.3+3
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.3.1 3.4.1
flutter_plugin_android_lifecycle - 2.0.23 2.0.23
flutter_reorderable_grid_view - 5.3.2 5.3.2
flutter_web_plugins - 0.0.0 0.0.0
http - 0.13.6 1.2.2
http_parser - 4.0.2 4.1.1
image_cropper_for_web - 2.0.0 6.0.2
image_cropper_platform_interface - 4.0.0 7.0.0
image_picker_android - 0.8.12+17 0.8.12+17
image_picker_for_web - 3.0.2 3.0.6
image_picker_ios - 0.8.12+1 0.8.12+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.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 1.0.6 2.0.0
octo_image - 2.1.0 2.1.0
open_file_android - 1.0.6 1.0.6
open_file_ios - 1.0.3 1.0.3
open_file_linux - 0.0.5 0.0.5
open_file_mac - 1.0.2 1.0.2
open_file_platform_interface - 1.0.3 1.0.3
open_file_web - 0.0.2 0.0.4
open_file_windows - 0.0.3 0.0.3
package_info_plus_platform_interface - 2.0.1 3.0.1
path - 1.9.1 1.9.1
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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 - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.1 0.1.3+2
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
rxdart - 0.27.7 0.28.0
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.2.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqflite - 2.4.1 2.4.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+5 2.5.4+5
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
web - 0.4.2 1.1.0
win32 - 5.8.0 5.8.0
xdg_directories - 1.1.0 1.1.0

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

Found 4 issues. Showing the first 2:

The constraint `^4.0.0` on image_cropper does not support the stable version `5.0.0`.

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

The constraint `^1.0.0` on logger does not support the stable version `2.0.0`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 12 errors:

  • UNDEFINED_GETTER - lib/common/helper/update_helper.dart:45:66 - The getter 'values' isn't defined for the type 'DownloadTaskStatus'.
  • NON_TYPE_IN_CATCH_CLAUSE - lib/request/request.dart:81:10 - The name 'DioException' isn't a type and can't be used in an on-catch clause.
  • UNDEFINED_IDENTIFIER - lib/request/request.dart:87:21 - Undefined name 'DioExceptionType'.

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.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.