tencent_cloud_chat_text_translate 2.1.0 copy "tencent_cloud_chat_text_translate: ^2.1.0" to clipboard
tencent_cloud_chat_text_translate: ^2.1.0 copied to clipboard

Message Translation Plugin for Tencent Cloud Chat.

0
likes
110/ 160
pub points
439
downloads

We analyzed this package 10 hours ago, and awarded it 110 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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.

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.

failed
Provide documentation
0 / 20trigger folding of the section

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.

failed
Platform support
20 / 20trigger folding of the section

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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
audioplayers - 5.2.1 6.1.0
audioplayers_android - 4.0.3 5.0.0
audioplayers_darwin - 5.0.2 6.0.0
audioplayers_linux - 3.1.0 4.0.0
audioplayers_platform_interface - 6.1.0 7.0.0
audioplayers_web - 4.1.0 5.0.1
audioplayers_windows - 3.1.0 4.0.0
azlistview_all_platforms - 2.1.2 2.1.2
better_player_plus - 1.0.5 1.0.7
cached_network_image - 3.3.1 3.4.1
cached_network_image_platform_interface - 4.0.0 4.1.1
cached_network_image_web - 1.2.0 1.3.1
card_swiper - 3.0.1 3.0.1
characters - 1.3.0 1.4.0
charcode - 1.4.0 1.4.0
chewie_for_us - 1.5.0 1.5.0
clock - 1.1.1 1.1.2
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
cross_file - 0.3.3+8 0.3.4+2
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
cupertino_icons - 1.0.8 1.0.8
dbus - 0.7.10 0.7.10
desktop_drop_for_t - 0.4.6 0.4.6
device_info_plus - 9.1.2 11.2.0
device_info_plus_platform_interface - 7.0.2 7.0.2
dotted_border - 2.1.0 2.1.0
exif - 3.3.0 3.3.0
extended_image - 8.3.1 9.0.7
extended_image_library - 4.0.5 4.0.5
extended_text_field - 16.0.2 16.0.2
extended_text_library - 12.0.1 12.0.1
fc_native_video_thumbnail - 0.7.0 0.16.1
ffi - 2.1.3 2.1.3
file - 6.1.4 7.0.1
file_picker - 6.2.1 8.1.6
file_selector_linux - 0.9.3+2 0.9.3+2
file_selector_macos - 0.9.4+2 0.9.4+2
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+3 0.9.3+3
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.3.1 3.4.1
flutter_keyboard_visibility - 6.0.0 6.0.0
flutter_keyboard_visibility_linux - 1.0.0 1.0.0
flutter_keyboard_visibility_macos - 1.0.0 1.0.0
flutter_keyboard_visibility_platform_interface - 2.0.0 2.0.0
flutter_keyboard_visibility_web - 2.0.0 2.0.0
flutter_keyboard_visibility_windows - 1.0.0 1.0.0
flutter_list_view - 1.1.29 1.1.29
flutter_localizations - 0.0.0 0.0.0
flutter_markdown - 0.7.4+3 0.7.4+3
flutter_plugin_android_lifecycle - 2.0.24 2.0.24
flutter_ringtone_player - 3.2.0 4.0.0+3
flutter_screenutil - 5.9.3 5.9.3
flutter_svg - 2.0.16 2.0.16
flutter_web_plugins - 0.0.0 0.0.0
flutter_widget_from_html_core - 0.10.6 0.15.2
haptic_feedback - 0.4.2 0.5.1+1
hash - 1.0.4 1.0.4
hive - 2.2.3 2.2.3
hive_flutter - 1.1.0 1.1.0
html - 0.15.5 0.15.5
http - 1.2.0 1.2.2
http_client_helper - 3.0.0 3.0.0
http_parser - 4.1.1 4.1.1
image_clipboard - 1.1.0+1 1.1.0+1
image_picker - 0.8.9 1.1.2
image_picker_android - 0.8.12+18 0.8.12+18
image_picker_for_web - 2.2.0 3.0.6
image_picker_ios - 0.8.12+1 0.8.12+1
image_picker_linux - 0.2.1+1 0.2.1+1
image_picker_macos - 0.2.1+1 0.2.1+1
image_picker_platform_interface - 2.10.0 2.10.0
image_picker_windows - 0.2.1+1 0.2.1+1
intl - 0.19.0 0.20.1
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
lpinyin - 2.0.3 2.0.3
markdown - 7.2.2 7.2.2
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 1.0.6 2.0.0
mime_type - 1.0.1 1.0.1
nested - 1.0.0 1.0.0
octo_image - 2.1.0 2.1.0
open_file - 3.5.4 3.5.10
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 - 5.0.1 8.1.2
package_info_plus_platform_interface - 2.0.1 3.0.2
pasteboard - 0.2.0 0.3.0
path - 1.9.0 1.9.1
path_drawing - 1.0.1 1.0.1
path_parsing - 1.1.0 1.1.0
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.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 - 11.3.1 11.3.1
permission_handler_android - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.1 0.1.3+5
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
pull_to_refresh - 2.0.0 2.0.0
pull_to_refresh_flutter3 - 2.0.2 2.0.2
record - 5.1.0 5.2.0
record_android - 1.2.1 1.3.0
record_darwin - 1.2.2 1.2.2
record_linux - 0.7.2 0.7.2
record_platform_interface - 1.2.0 1.2.0
record_web - 1.0.5 1.1.4
record_windows - 1.0.4 1.0.4
rxdart - 0.27.7 0.28.0
scroll_to_index - 3.0.1 3.0.1
scrollable_positioned_list_for_us - 0.4.2 0.4.2
shimmer - 3.0.0 3.0.0
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sqflite - 2.4.1 2.4.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
tencent_cloud_chat - 2.1.0 2.1.0
tencent_cloud_uikit_core - 1.7.3 1.7.3
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_html - 2.2.4 2.2.4
universal_io - 2.2.2 2.2.2
url_launcher - 6.3.1 6.3.1
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.2.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
uuid - 4.5.1 4.5.1
vector_graphics - 1.1.15 1.1.15
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.16 1.1.16
vector_math - 2.1.4 2.1.4
video_player - 2.9.2 2.9.2
video_player_android - 2.7.16 2.7.16
video_player_avfoundation - 2.6.5 2.6.5
video_player_platform_interface - 6.2.3 6.2.3
video_player_web - 2.2.0 2.3.3
visibility_detector - 0.4.0+2 0.4.0+2
wakelock_for_us - 0.6.3+1 0.6.3+1
wakelock_platform_interface - 0.3.0 0.3.0
wakelock_plus - 1.1.4 1.2.10
wakelock_plus_platform_interface - 1.2.2 1.2.2
web - 0.4.2 1.1.0
win32 - 5.9.0 5.9.0
win32_registry - 1.1.5 2.0.1
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0
yaml - 3.1.3 3.1.3

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.