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.

100/ 160
pub points
270
downloads

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

Failed report section
Follow Dart file conventions
20 / 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

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

Detected license: MIT.

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

140 out of 488 API elements (28.7 %) have documentation comments.

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

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 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.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 22 issues. Showing the first 2:

INFO: Missing type annotation.

lib/common/helper/common_helper.dart:10:10

   ╷
10 │   static showToast(text) {
   │          ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/common/helper/common_helper.dart

INFO: Missing type annotation.

lib/common/helper/common_helper.dart:10:20

   ╷
10 │   static showToast(text) {
   │                    ^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/common/helper/common_helper.dart

Failed report section
Support up-to-date dependencies
10 / 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
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.7 3.0.7
dio ^5.0.0 5.9.0 5.9.0
dio_cookie_manager ^3.0.0 3.3.0 3.3.0
flutter_downloader ^1.0.0 1.12.0 1.12.0
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.7.3
image_cropper ^4.0.0 4.0.1 11.0.0
image_gallery_saver ^2.0.0 2.0.3 2.0.3
image_picker ^1.0.0 1.1.2 1.2.1
logger ^1.0.0 1.4.0 2.6.2
multi_image_picker_view ^1.0.0 1.1.0 3.0.0
open_file ^3.0.0 3.5.4 3.5.10
package_info_plus ^5.0.0 5.0.1 9.0.0
path_provider ^2.0.0 2.1.5 2.1.5
permission_handler ^11.0.0 11.4.0 12.0.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.5.4
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
cached_network_image_platform_interface - 4.0.0 4.1.1
cached_network_image_web - 1.2.0 1.3.1
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
cross_file - 0.3.3+8 0.3.5+1
dio_web_adapter - 1.1.1 2.1.1
ffi - 2.1.4 2.1.4
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_cache_manager - 3.3.1 3.4.1
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
flutter_reorderable_grid_view - 5.5.2 5.5.2
http - 0.13.6 1.6.0
http_parser - 4.1.2 4.1.2
image_cropper_for_web - 2.0.0 7.0.0
image_cropper_platform_interface - 4.0.0 8.0.0
image_picker_android - 0.8.13+10 0.8.13+10
image_picker_for_web - 3.0.2 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
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.3 1.0.3
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.2.1
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 - 12.1.0 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.1 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
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.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.2.2 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
sqflite - 2.4.2 2.4.2
sqflite_android - 2.4.2+2 2.4.2+2
sqflite_common - 2.5.6 2.5.6
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_io - 2.3.1 2.3.1
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
web - 0.4.2 1.1.1
win32 - 5.15.0 5.15.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 6 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.

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 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.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: