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

A component for displaying a list of messages and dealing with everything related to sending and receiving messages for Tencent Cloud Chat.

1
likes
90/ 160
pub points
574
downloads

We analyzed this package 2 days ago, and awarded it 90 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

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_message,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: tencent_cloud_chat_message.

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: Apache-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

314 out of 1111 API elements (28.3 %) have documentation comments.

Some symbols that are missing documentation: default_builder, default_builder.defaultLoadPreviousProgressBuilder, default_builder.defaultUnreadMsgTipBuilder, default_builder.messageMentionedMeBuilder, default_builder.receivedMsgButtonBuilder.

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_message/tencent_cloud_chat_message.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_message/tencent_cloud_chat_message.dart that imports:
  • package:tencent_cloud_chat_message/tencent_cloud_chat_message_list_view/tencent_cloud_chat_message_list_view_container.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_message/tencent_cloud_chat_message.dart that imports:
  • package:tencent_cloud_chat_message/tencent_cloud_chat_message_list_view/tencent_cloud_chat_message_list_view_container.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_message/tencent_cloud_chat_message.dart that imports:
  • package:tencent_cloud_chat_message/tencent_cloud_chat_message_list_view/tencent_cloud_chat_message_list_view_container.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_controller.dart that imports:
  • package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_data_tools.dart that imports:
  • package:tencent_cloud_chat/utils/tencent_cloud_chat_utils.dart that imports:
  • package:tencent_cloud_chat/utils/tencent_cloud_chat_message_calling_message/tencent_cloud_chat_message_calling_message.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_message/tencent_cloud_chat_message.dart that imports:
  • package:tencent_cloud_chat_message/tencent_cloud_chat_message_list_view/tencent_cloud_chat_message_list_view_container.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_controller.dart that imports:
  • package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_data_tools.dart that imports:
  • package:tencent_cloud_chat/utils/tencent_cloud_chat_utils.dart that imports:
  • package:tencent_cloud_chat/utils/tencent_cloud_chat_message_calling_message/tencent_cloud_chat_message_calling_message.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_message/tencent_cloud_chat_message.dart that imports:
  • package:tencent_cloud_chat_message/tencent_cloud_chat_message_list_view/tencent_cloud_chat_message_list_view_container.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_controller.dart that imports:
  • package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_data_tools.dart that imports:
  • package:tencent_cloud_chat/utils/tencent_cloud_chat_utils.dart that imports:
  • package:tencent_cloud_chat/utils/tencent_cloud_chat_message_calling_message/tencent_cloud_chat_message_calling_message.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_message/tencent_cloud_chat_message.dart that imports:
  • package:tencent_cloud_chat_message/tencent_cloud_chat_message_list_view/tencent_cloud_chat_message_list_view_container.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_controller.dart that imports:
  • package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_data_tools.dart that imports:
  • package:tencent_cloud_chat/utils/tencent_cloud_chat_utils.dart that imports:
  • package:tencent_cloud_chat/utils/tencent_cloud_chat_message_calling_message/tencent_cloud_chat_message_calling_message.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 147 issues. Showing the first 2:

WARNING: Dead code.

lib/data/tencent_cloud_chat_message_data_tools.dart:172:15

    ╷
172 │               ? TencentCloudChatUtils.addDataToStringFiled(
    │ ┌───────────────^
173 │ │                 key: "renderInfo",
174 │ │                 value: json.encode({
175 │ │                   "rotate": "1",
176 │ │                 }),
177 │ │                 currentString: messageInfoWithAdditionalInfo.cloudCustomData ?? "",
178 │ └               )
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/data/tencent_cloud_chat_message_data_tools.dart

WARNING: The operand can't be 'null', so the condition is always 'true'.

lib/data/tencent_cloud_chat_message_separate_data.dart:226:27

    ╷
226 │     if (_selectedMessages != null && _selectedMessages.isNotEmpty) {
    │                           ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/data/tencent_cloud_chat_message_separate_data.dart

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

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
azlistview_all_platforms ^2.1.2 2.1.2 2.1.2
better_player_plus ^1.0.5 1.0.5 1.0.7
cached_network_image ^3.2.3 3.3.1 3.4.1
card_swiper ^3.0.1 3.0.1 3.0.1
desktop_drop_for_t ^0.4.6 0.4.6 0.4.6
device_info_plus ^9.1.2 9.1.2 11.2.0
dotted_border ^2.1.0 2.1.0 2.1.0
extended_text ^14.0.0 14.2.0 14.2.0
extended_text_field ^16.0.0 16.0.2 16.0.2
fc_native_video_thumbnail ^0.7.0 0.7.0 0.16.1
file_picker ^6.1.1 6.2.1 8.1.6
flutter flutter 0.0.0 0.0.0
flutter_keyboard_visibility ^6.0.0 6.0.0 6.0.0
flutter_list_view ^1.1.18 1.1.29 1.1.29
flutter_markdown ^0.7.1 0.7.4+3 0.7.4+3
flutter_svg ^2.0.7 2.0.16 2.0.16
haptic_feedback ^0.4.2 0.4.2 0.5.1+1
http ^1.1.0 1.2.0 1.2.2
image_clipboard ^1.1.0+1 1.1.0+1 1.1.0+1
image_picker ^0.8.9 0.8.9 1.1.2
lpinyin ^2.0.3 2.0.3 2.0.3
open_file ^3.3.2 3.5.4 3.5.10
package_info_plus ^5.0.1 5.0.1 8.1.2
pasteboard ^0.2.0 0.2.0 0.3.0
pull_to_refresh ^2.0.0 2.0.0 2.0.0
record ^5.0.5 5.1.0 5.2.0
record_android >=1.1.0 <=1.2.1 1.2.1 1.3.0
scroll_to_index ^3.0.1 3.0.1 3.0.1
tencent_cloud_chat ^2.1.0 2.1.0 2.1.0
tencent_cloud_chat_common ^2.1.0 2.1.0 2.1.0
universal_html ^2.2.4 2.2.4 2.2.4
url_launcher ^6.2.2 6.3.1 6.3.1
vector_math ^2.1.4 2.1.4 2.1.4
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
cached_network_image_platform_interface - 4.0.0 4.1.1
cached_network_image_web - 1.2.0 1.3.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
device_info_plus_platform_interface - 7.0.2 7.0.2
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_library - 12.0.1 12.0.1
ffi - 2.1.3 2.1.3
file - 6.1.4 7.0.1
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_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_localizations - 0.0.0 0.0.0
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_web_plugins - 0.0.0 0.0.0
flutter_widget_from_html_core - 0.10.6 0.15.2
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_client_helper - 3.0.0 3.0.0
http_parser - 4.1.1 4.1.1
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
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_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_platform_interface - 2.0.1 3.0.2
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_flutter3 - 2.0.2 2.0.2
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
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_intl - 2.1.0 2.1.0
tencent_cloud_chat_sdk - 8.3.6498 8.3.6498
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_io - 2.2.2 2.2.2
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
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.8
wakelock_plus_platform_interface - 1.2.1 1.2.1
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.2 3.1.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 8 issues. Showing the first 2:

The constraint `^9.1.2` on device_info_plus does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions device_info_plus to update the constraint.

The constraint `^0.7.0` on fc_native_video_thumbnail does not support the stable version `0.8.0`.

Try running dart pub upgrade --major-versions fc_native_video_thumbnail 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 4 errors:

  • CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE - lib/tencent_cloud_chat_message_input/mobile/tencent_cloud_chat_message_input_recording.dart:95:29 - Const variables must be initialized with a constant value.
  • UNDEFINED_METHOD - lib/tencent_cloud_chat_message_input/mobile/tencent_cloud_chat_message_input_recording.dart:95:29 - The method 'AndroidRecordConfig' isn't defined for the type 'TencentCloudChatMessageInputRecordingState'.
  • UNDEFINED_IDENTIFIER - lib/tencent_cloud_chat_message_input/mobile/tencent_cloud_chat_message_input_recording.dart:97:24 - Undefined name 'AndroidAudioSource'.

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.