tencent_cloud_chat_common 1.6.0 copy "tencent_cloud_chat_common: ^1.6.0" to clipboard
tencent_cloud_chat_common: ^1.6.0 copied to clipboard

Tencent Cloud Chat Common Widgets offers a collection of versatile and reusable components, designed to streamline development and ensure UI consistency across mobile and desktop environments.

1
likes
100/ 160
pub points
68%
popularity

We analyzed this package 13 hours ago, and awarded it 100 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 long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

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

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

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

65 out of 235 API elements (27.7 %) have documentation comments.

Some symbols that are missing documentation: bottom_modal, bottom_modal.TencentCloudChatModalAction, bottom_modal.TencentCloudChatModalAction.TencentCloudChatModalAction, bottom_modal.TencentCloudChatModalAction.icon, bottom_modal.TencentCloudChatModalAction.label.

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_common/tencent_cloud_chat_common.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 `Windows`.

Because:

  • package:tencent_cloud_chat_common/tencent_cloud_chat_common.dart that imports:
  • package:tencent_cloud_chat_common/widgets/avatar/tencent_cloud_chat_avatar.dart that imports:
  • package:tencent_cloud_chat_common/base/tencent_cloud_chat_state_widget.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_common/tencent_cloud_chat_common.dart that imports:
  • package:tencent_cloud_chat_common/widgets/avatar/tencent_cloud_chat_avatar.dart that imports:
  • package:tencent_cloud_chat_common/base/tencent_cloud_chat_state_widget.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_common/tencent_cloud_chat_common.dart that imports:
  • package:tencent_cloud_chat_common/widgets/avatar/tencent_cloud_chat_avatar.dart that imports:
  • package:tencent_cloud_chat_common/base/tencent_cloud_chat_state_widget.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_common/tencent_cloud_chat_common.dart that imports:
  • package:tencent_cloud_chat_common/widgets/avatar/tencent_cloud_chat_avatar.dart that imports:
  • package:tencent_cloud_chat_common/base/tencent_cloud_chat_state_widget.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.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 23 issues. Showing the first 2:

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/desktop_popup/tencent_cloud_chat_desktop_popup.dart:112:43

    ╷
112 │                                     side: MaterialStateProperty.resolveWith<BorderSide>((Set<MaterialState> states) {
    │                                           ^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/desktop_popup/tencent_cloud_chat_desktop_popup.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/desktop_popup/tencent_cloud_chat_desktop_popup.dart:112:94

    ╷
112 │                                     side: MaterialStateProperty.resolveWith<BorderSide>((Set<MaterialState> states) {
    │                                                                                              ^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/desktop_popup/tencent_cloud_chat_desktop_popup.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
cached_network_image ^3.2.3 3.3.1 3.4.1
chewie_for_us ^1.5.0 1.5.0 1.5.0
device_info_plus ^9.1.2 9.1.2 11.1.1
extended_image ^8.1.1 8.3.1 9.0.7
flutter flutter 0.0.0 0.0.0
flutter_svg ^2.0.7 2.0.15 2.0.15
permission_handler ^11.3.0 11.3.1 11.3.1
pull_to_refresh_flutter3 ^2.0.2 2.0.2 2.0.2
shimmer ^3.0.0 3.0.0 3.0.0
tencent_cloud_chat ^1.6.0 1.6.2 1.6.2
tencent_cloud_chat_intl ^1.5.0 1.6.0 1.6.0
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.3.1
charcode - 1.4.0 1.4.0
clock - 1.1.1 1.1.2
collection - 1.18.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
cupertino_icons - 1.0.8 1.0.8
device_info_plus_platform_interface - 7.0.1 7.0.1
exif - 3.3.0 3.3.0
extended_image_library - 4.0.5 4.0.5
ffi - 2.1.3 2.1.3
file - 6.1.4 7.0.1
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.3.1 3.4.1
flutter_localizations - 0.0.0 0.0.0
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
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.2 1.2.2
http_client_helper - 3.0.0 3.0.0
http_parser - 4.0.2 4.1.1
intl - 0.19.0 0.20.0
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime_type - 1.0.1 1.0.1
nested - 1.0.0 1.0.0
octo_image - 2.1.0 2.1.0
path - 1.9.0 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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_android - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+5 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
rxdart - 0.27.7 0.28.0
scroll_to_index - 3.0.1 3.0.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
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.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
tencent_cloud_chat_sdk - 8.2.6325+4 8.2.6325+4
tencent_cloud_uikit_core - 1.7.2 1.7.2
term_glyph - 1.2.1 1.2.1
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.1 6.3.1
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.1 3.2.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.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.15 1.1.15
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.3 2.6.3
video_player_platform_interface - 6.2.3 6.2.3
video_player_web - 2.3.3 2.3.3
wakelock_for_us - 0.6.3+1 0.6.3+1
wakelock_platform_interface - 0.3.0 0.3.0
web - 1.1.0 1.1.0
win32 - 5.8.0 5.8.0
win32_registry - 1.1.5 2.0.0
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.

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 `^8.1.1` on extended_image does not support the stable version `9.0.0`.

Try running dart pub upgrade --major-versions extended_image 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 1 error:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/widgets/cacheImage/tencent_cloud_chat_cache_image.dart:37:20 - The argument type 'Widget Function(BuildContext, String, Object)?' can't be assigned to the parameter type 'LoadingErrorWidgetBuilder?'.

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.5, Dart 3.5.4.

Check the analysis log for details.

1
likes
100
pub points
68%
popularity

Publisher

verified publishertrtc.io

Tencent Cloud Chat Common Widgets offers a collection of versatile and reusable components, designed to streamline development and ensure UI consistency across mobile and desktop environments.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

cached_network_image, chewie_for_us, device_info_plus, extended_image, flutter, flutter_svg, permission_handler, pull_to_refresh_flutter3, shimmer, tencent_cloud_chat, tencent_cloud_chat_intl

More

Packages that depend on tencent_cloud_chat_common