flutter_chen_im 0.0.2 flutter_chen_im: ^0.0.2 copied to clipboard
A new Flutter package for im.
We analyzed this package 4 days ago, and awarded it 50 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.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: flutter_chen_im
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: flutter_chen_im
.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
22 out of 160 API elements (13.8 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: Im_message
, assets
, assets.Assets.imEmoji
, assets.Assets.imIcSoundFrom1
, assets.Assets.imIcSoundFrom2
.
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_im/flutter_chen_im.dart
that imports:package:flutter_chen_im/widgets/im_video_player.dart
that imports:package:video_player/video_player.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:flutter_chen_im/flutter_chen_im.dart
that imports:package:flutter_chen_im/widgets/im_video_player.dart
that imports:package:video_player/video_player.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `macOS`.
Because:
package:flutter_chen_im/flutter_chen_im.dart
that imports:package:flutter_chen_im/widgets/im_record_panel.dart
that imports:package:flutter_chen_im/common/service/audio_recorder_service.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_im/flutter_chen_im.dart
that imports:package:flutter_chen_im/widgets/im_record_panel.dart
that imports:package:flutter_chen_im/common/service/audio_recorder_service.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_im/flutter_chen_im.dart
that imports:package:flutter_chen_im/widgets/im_message_item.dart
that imports: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_im/flutter_chen_im.dart
that imports:package:flutter_chen_im/widgets/im_message_item.dart
that imports: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
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'package:flutter_chen_im/model/Im_message.dart'.
lib/widgets/im_message_audio.dart:5:8
╷
5 │ import 'package:flutter_chen_im/model/Im_message.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/im_message_audio.dart
ERROR: Undefined class 'ImMessage'.
lib/widgets/im_message_audio.dart:8:9
╷
8 │ final ImMessage data;
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/im_message_audio.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_chen_common |
^0.0.7 |
0.0.9 | 1.4.0 |
flutter_sound |
^9.2.13 |
9.2.13 | 9.17.8 |
get |
^4.0.0 |
4.6.6 | 4.6.6 |
path_provider |
^2.0.0 |
2.1.5 | 2.1.5 |
permission_handler |
^11.0.0 |
11.3.1 | 11.3.1 |
video_compress |
^3.1.2 |
3.1.3 | 3.1.3 |
video_player |
^2.8.2 |
2.9.2 | 2.9.2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.0.7` on flutter_chen_common does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions flutter_chen_common
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 10 errors:
URI_DOES_NOT_EXIST
-lib/widgets/im_message_audio.dart:5:8
- Target of URI doesn't exist: 'package:flutter_chen_im/model/Im_message.dart'.UNDEFINED_CLASS
-lib/widgets/im_message_audio.dart:8:9
- Undefined class 'ImMessage'.URI_DOES_NOT_EXIST
-lib/widgets/im_message_item.dart:4:8
- Target of URI doesn't exist: 'package:flutter_chen_im/model/Im_message.dart'.
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.