tim_ui_kit_sticker_plugin 1.2.0 copy "tim_ui_kit_sticker_plugin: ^1.2.0" to clipboard
tim_ui_kit_sticker_plugin: ^1.2.0 copied to clipboard

This extention provides the sticker choosing panel, allows users to send emoji sticker in text messages or dynamic sticker in face message.

6
likes
45/ 160
pub points
82%
popularity

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

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

0/10 points: Provide a valid pubspec.yaml

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:79:9

   ╷
79 │ <h2>联系我们<a href="id:contact"></a></h2>
   │         ^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

partial
Provide documentation
10 / 20trigger folding of the section

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

3 out of 71 API elements (4.2 %) 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: emoji, emoji.ConstData, emoji.ConstData.ConstData, emoji.ConstData.emojiList, emoji.ConstData.emojiMapList.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:tim_ui_kit_sticker_plugin/tim_ui_kit_sticker_plugin.dart that imports:
  • package:tim_ui_kit_sticker_plugin/ui/tim_ui_kit_sticker_panel.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:tim_ui_kit_sticker_plugin/tim_ui_kit_sticker_plugin.dart that imports:
  • package:tim_ui_kit_sticker_plugin/ui/tim_ui_kit_sticker_panel.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:tim_ui_kit_sticker_plugin/tim_ui_kit_sticker_plugin.dart that imports:
  • package:tim_ui_kit_sticker_plugin/ui/tim_ui_kit_sticker_panel.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/json_cache_info_repository.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

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.

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

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

Found 3 issues. Showing the first 2:

ERROR: The method 'instantiateImageCodec' isn't defined for the type 'PaintingBinding'.

lib/ui/tim_ui_kit_sticker_panel.dart:454:11

    ╷
454 │         ?.instantiateImageCodec(data.buffer.asUint8List());
    │           ^^^^^^^^^^^^^^^^^^^^^
    ╵

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

WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.

lib/ui/tim_ui_kit_sticker_panel.dart:454:9

    ╷
454 │         ?.instantiateImageCodec(data.buffer.asUint8List());
    │         ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/ui/tim_ui_kit_sticker_panel.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.0 3.3.1 3.4.1
flutter flutter 0.0.0 0.0.0
flutter_cache_manager ^3.3.0 3.3.1 3.4.1
tencent_im_base ^1.0.1 1.0.11 8.0.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 72.0.0 77.0.0
_macros - 0.3.2 0.3.2
analyzer - 6.7.0 7.0.0
async - 2.12.0 2.12.0
build - 2.4.1 2.4.1
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
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
csv - 5.1.1 6.0.0
fast_i18n - 5.12.6 5.12.6
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_web_plugins - 0.0.0 0.0.0
glob - 2.1.2 2.1.2
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
macros - 0.1.2-main.4 0.1.3-main.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
octo_image - 2.1.0 2.1.0
package_config - 2.1.0 2.1.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.14 2.2.14
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.4 2.1.4
rxdart - 0.27.7 0.28.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.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 - 5.2.6 8.3.6498
tencent_im_sdk_plugin_platform_interface - 0.3.25 1.0.16
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.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 `^1.0.1` on tencent_im_base does not support the stable version `2.0.0`.

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

  • UNDEFINED_METHOD - lib/ui/tim_ui_kit_sticker_panel.dart:454:11 - The method 'instantiateImageCodec' isn't defined for the type 'PaintingBinding'.

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.

6
likes
45
pub points
82%
popularity

Publisher

verified publishercomm.qq.com

This extention provides the sticker choosing panel, allows users to send emoji sticker in text messages or dynamic sticker in face message.

Documentation

API reference

License

unknown (license)

Dependencies

cached_network_image, flutter, flutter_cache_manager, tencent_im_base

More

Packages that depend on tim_ui_kit_sticker_plugin