flutter_chen_common 0.0.9
flutter_chen_common: ^0.0.9 copied to clipboard
A Flutter Common package For Helper and Widgets.
We analyzed this package 20 days ago, and awarded it 100 pub points (of a possible 160):
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.
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.
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.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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.dartthat imports:package:flutter_chen_common/widgets/widgets.dartthat imports:package:flutter_chen_common/widgets/base/com_swiper.dartthat imports:package:flutter_chen_common/widgets/base/com_image.dartthat imports:package:cached_network_image/cached_network_image.dartthat imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:flutter_chen_common/flutter_chen_common.dartthat imports:package:flutter_chen_common/widgets/widgets.dartthat imports:package:flutter_chen_common/widgets/base/com_swiper.dartthat imports:package:flutter_chen_common/widgets/base/com_image.dartthat imports:package:cached_network_image/cached_network_image.dartthat imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `macOS`.
Because:
package:flutter_chen_common/flutter_chen_common.dartthat imports:package:flutter_chen_common/common/helper/helper.dartthat imports:package:flutter_chen_common/common/helper/update_helper.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `Web`.
Because:
package:flutter_chen_common/flutter_chen_common.dartthat imports:package:flutter_chen_common/widgets/widgets.dartthat imports:package:flutter_chen_common/widgets/base/com_swiper.dartthat imports:package:flutter_chen_common/widgets/base/com_image.dartthat imports:package:cached_network_image/cached_network_image.dartthat imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/json_cache_info_repository.dartthat imports:package:path_provider/path_provider.dartthat 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.dartthat imports:package:flutter_chen_common/common/helper/helper.dartthat imports:package:flutter_chen_common/common/helper/update_helper.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:flutter_chen_common/flutter_chen_common.dartthat imports:package:flutter_chen_common/common/helper/helper.dartthat imports:package:flutter_chen_common/common/helper/update_helper.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
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
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
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.
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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.