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 44 hours 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 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
.
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.
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.
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
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
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.