tencent_cloud_chat_text_translate 2.1.0 tencent_cloud_chat_text_translate: ^2.1.0 copied to clipboard
Message Translation Plugin for Tencent Cloud Chat.
We analyzed this package 10 hours ago, and awarded it 110 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: tencent_cloud_chat_text_translate
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: tencent_cloud_chat_text_translate
.
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: BSD-3-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 54 API elements (3.7 %) 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: tencent_cloud_chat_text_translate
, tencent_cloud_chat_text_translate.TencentCloudChatTextTranslate
, tencent_cloud_chat_text_translate.TencentCloudChatTextTranslate.TencentCloudChatTextTranslate
, tencent_cloud_chat_text_translate.TencentCloudChatTextTranslate.author
, tencent_cloud_chat_text_translate.TencentCloudChatTextTranslate.callMethod
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:tencent_cloud_chat_text_translate/tencent_cloud_chat_text_translate.dart
that imports:package:tencent_cloud_chat_text_translate/translate.dart
that imports:package:tencent_cloud_chat_text_translate/translate_utils.dart
that imports:package:tencent_cloud_chat_common/utils/face_manager.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
,Web
.
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:tencent_cloud_chat_text_translate/tencent_cloud_chat_text_translate.dart
that imports:package:tencent_cloud_chat_text_translate/translate.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data_notifier.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_builders.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_widgets/tencent_cloud_chat_message_item_builders.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_widgets/message_type_builders/tencent_cloud_chat_message_video.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_viewer/tencent_cloud_chat_message_viewer.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_viewer/tencent_cloud_chat_message_videoplayer.dart
that imports:package:better_player_plus/better_player_plus.dart
that imports:package:better_player_plus/src/core/better_player.dart
that imports:package:wakelock_plus/wakelock_plus.dart
that imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:tencent_cloud_chat_text_translate/tencent_cloud_chat_text_translate.dart
that imports:package:tencent_cloud_chat_text_translate/translate.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data_notifier.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_builders.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_widgets/tencent_cloud_chat_message_item_builders.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_widgets/message_type_builders/tencent_cloud_chat_message_video.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_viewer/tencent_cloud_chat_message_viewer.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_viewer/tencent_cloud_chat_message_videoplayer.dart
that imports:package:better_player_plus/better_player_plus.dart
that imports:package:better_player_plus/src/core/better_player.dart
that imports:package:wakelock_plus/wakelock_plus.dart
that imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Windows`.
Because:
package:tencent_cloud_chat_text_translate/tencent_cloud_chat_text_translate.dart
that imports:package:tencent_cloud_chat_text_translate/translate.dart
that imports:package:tencent_cloud_chat_text_translate/translate_utils.dart
that imports:package:tencent_cloud_chat_common/utils/face_manager.dart
that imports:package:tencent_cloud_chat/tencent_cloud_chat.dart
that imports:package:tencent_cloud_chat/data/tencent_cloud_chat_data.dart
that imports:package:tencent_cloud_chat/data/user_profile/tencent_cloud_chat_user_profile_data.dart
that imports:package:tencent_cloud_chat/components/components_definition/tencent_cloud_chat_component_builder.dart
that imports:package:tencent_cloud_chat/models/tencent_cloud_chat_models.dart
that imports:package:tencent_cloud_chat/components/component_config/tencent_cloud_chat_message_config.dart
that imports:package:tencent_cloud_chat/data/message/tencent_cloud_chat_message_data.dart
that imports:package:flutter_ringtone_player/flutter_ringtone_player.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:tencent_cloud_chat_text_translate/tencent_cloud_chat_text_translate.dart
that imports:package:tencent_cloud_chat_text_translate/translate.dart
that imports:package:tencent_cloud_chat_text_translate/translate_utils.dart
that imports:package:tencent_cloud_chat_common/utils/face_manager.dart
that imports:package:tencent_cloud_chat/tencent_cloud_chat.dart
that imports:package:tencent_cloud_chat/data/tencent_cloud_chat_data.dart
that imports:package:tencent_cloud_chat/data/user_profile/tencent_cloud_chat_user_profile_data.dart
that imports:package:tencent_cloud_chat/components/components_definition/tencent_cloud_chat_component_builder.dart
that imports:package:tencent_cloud_chat/models/tencent_cloud_chat_models.dart
that imports:package:tencent_cloud_chat/components/component_config/tencent_cloud_chat_message_config.dart
that imports:package:tencent_cloud_chat/data/message/tencent_cloud_chat_message_data.dart
that imports:package:flutter_ringtone_player/flutter_ringtone_player.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:tencent_cloud_chat_text_translate/tencent_cloud_chat_text_translate.dart
that imports:package:tencent_cloud_chat_text_translate/translate.dart
that imports:package:tencent_cloud_chat_text_translate/translate_utils.dart
that imports:package:tencent_cloud_chat_common/utils/face_manager.dart
that imports:package:tencent_cloud_chat/tencent_cloud_chat.dart
that imports:package:tencent_cloud_chat_sdk/tencent_im_sdk_plugin.dart
that imports:package:tencent_cloud_chat_sdk/manager/v2_tim_manager.dart
that imports:package:tencent_cloud_chat_sdk/tencent_cloud_chat_sdk_platform_interface.dart
that imports:package:tencent_cloud_chat_sdk/tencent_cloud_chat_sdk_method_channel.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:tencent_cloud_chat_text_translate/tencent_cloud_chat_text_translate.dart
that imports:package:tencent_cloud_chat_text_translate/translate.dart
that imports:package:tencent_cloud_chat_text_translate/translate_utils.dart
that imports:package:tencent_cloud_chat_common/utils/face_manager.dart
that imports:package:tencent_cloud_chat/tencent_cloud_chat.dart
that imports:package:tencent_cloud_chat_sdk/tencent_im_sdk_plugin.dart
that imports:package:tencent_cloud_chat_sdk/manager/v2_tim_manager.dart
that imports:package:tencent_cloud_chat_sdk/tencent_cloud_chat_sdk_platform_interface.dart
that imports:package:tencent_cloud_chat_sdk/tencent_cloud_chat_sdk_method_channel.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.dart
that imports:dart:io
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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
WARNING: The value of the field '_onTranslateSuccess' isn't used.
lib/tencent_cloud_chat_text_translate.dart:22:28
╷
22 │ static Function(String)? _onTranslateSuccess;
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/tencent_cloud_chat_text_translate.dart
WARNING: The value of the field '_onTranslateFailed' isn't used.
lib/tencent_cloud_chat_text_translate.dart:23:22
╷
23 │ static Function()? _onTranslateFailed;
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/tencent_cloud_chat_text_translate.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
extended_text |
^14.0.0 |
14.2.0 | 14.2.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
tencent_cloud_chat_common |
^2.1.0 |
2.1.0 | 2.1.0 |
tencent_cloud_chat_intl |
^2.1.0 |
2.1.0 | 2.1.0 |
tencent_cloud_chat_message |
^2.1.0 |
2.1.0 | 2.1.0 |
tencent_cloud_chat_sdk |
^8.3.6498 |
8.3.6498+1 | 8.3.6498+1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.