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
54%
popularity

We analyzed this package 40 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 484 API elements (28.9 %) 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.

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: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.
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.3.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.3 3.0.3
dio ^5.0.0 5.4.3+1 5.4.3+1
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.7 1.11.7
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 7.0.5
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.3.0
multi_image_picker_view ^1.0.0 1.0.2 1.0.2
open_file ^3.0.0 3.3.2 3.3.2
package_info_plus ^5.0.0 5.0.1 8.0.0
path_provider ^2.0.0 2.1.3 2.1.3
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.2.3
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
cached_network_image_platform_interface - 4.0.0 4.0.0
cached_network_image_web - 1.2.0 1.2.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.19.0
cross_file - 0.3.3+8 0.3.4+1
equatable - 2.0.5 2.0.5
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.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
fixnum - 1.1.0 1.1.0
flutter_cache_manager - 3.3.1 3.3.2
flutter_plugin_android_lifecycle - 2.0.20 2.0.20
flutter_reorderable_grid_view - 4.0.0 4.0.0
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_cropper_for_web - 2.0.0 5.0.4
image_cropper_platform_interface - 4.0.0 6.0.3
image_picker_android - 0.8.12+3 0.8.12+3
image_picker_for_web - 3.0.2 3.0.4
image_picker_ios - 0.8.12 0.8.12
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.12.0
meta - 1.12.0 1.15.0
mime - 1.0.5 1.0.5
octo_image - 2.0.0 2.0.0
package_info_plus_platform_interface - 2.0.1 3.0.0
path - 1.9.0 1.9.0
path_provider_android - 2.2.5 2.2.5
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.2.1 2.2.1
permission_handler_android - 12.0.7 12.0.7
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.1 0.1.1
permission_handler_platform_interface - 4.2.1 4.2.1
permission_handler_windows - 0.2.1 0.2.1
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
rxdart - 0.27.7 0.28.0
shared_preferences_android - 2.2.3 2.2.3
shared_preferences_foundation - 2.4.0 2.4.0
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.2.2 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
sprintf - 7.0.0 7.0.0
sqflite - 2.3.3+1 2.3.3+1
sqflite_common - 2.5.4 2.5.4
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
universal_io - 2.2.2 2.2.2
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4
web - 0.4.2 0.5.1
win32 - 5.5.1 5.5.1
xdg_directories - 1.0.4 1.0.4

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.6, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.