live_uikit_gift 2.0.0 copy "live_uikit_gift: ^2.0.0" to clipboard
live_uikit_gift: ^2.0.0 copied to clipboard

live uikit gift component

110/ 160
pub points
329
downloads

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

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

Failed check 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 50 to 180 characters to describe the package, what it does, and its target use case.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting live_uikit_gift... Discovering libraries... Linking elements... Precaching local docs for 1398802 elements... Initialized dartdoc with 1632 libraries Generating docs for library state/tui_gift_store.dart from package:live_uikit_gift/state/tui_gift_store.dart... Generating docs for library state/index.dart from package:live_uikit_gift/state/index.dart... Generating docs for library state/tui_like_data.dart from package:live_uikit_gift/state/tui_like_data.dart... Generating docs for library state/tui_gift_data.dart from package:live_uikit_gift/state/tui_gift_data.dart... Generating docs for library gift_define.dart from package:live_uikit_gift/gift_define.dart... [43 more lines] ERR: warning: state has no library level documentation comments from state: (file:///tmp/pana_LKMKBV/lib/state/index.dart:1:1) warning: live_uikit_barrage has no library level documentation comments from live_uikit_barrage: (file:///tmp/pana_LKMKBV/lib/live_uikit_gift.dart:1:1) warning: constants has no library level documentation comments from constants: (file:///tmp/pana_LKMKBV/lib/common/constants/index.dart:1:1) warning: common has no library level documentation comments from common: (file:///tmp/pana_LKMKBV/lib/common/index.dart:1:1) warning: language has no library level documentation comments from language: (file:///tmp/pana_LKMKBV/lib/common/language/index.dart:1:1) [60 more lines]

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:live_uikit_gift/live_uikit_gift.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:live_uikit_gift/live_uikit_gift.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:live_uikit_gift/live_uikit_gift.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:live_uikit_gift/live_uikit_gift.dart that declares support for platforms: Android, iOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:live_uikit_gift/live_uikit_gift.dart that imports:
  • package:live_uikit_gift/gift_define.dart that imports:
  • package:rtc_room_engine/rtc_room_engine.dart that imports:
  • package:rtc_room_engine/api/room/tui_room_engine.dart that imports:
  • package:rtc_room_engine/impl/tui_room_engine_impl.dart that imports:
  • package:rtc_room_engine/impl/tui_room_device_manager_impl.dart that imports:
  • package:rtc_room_engine/bindings/tui_room_engine_native.dart that imports:
  • package:rtc_room_engine/utils/lib_load_utils.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 check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/live_uikit_gift/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 46 issues. Showing the first 2:

WARNING: The value of the local variable 'result' isn't used.

lib/manager/gift_manager.dart:77:13

   ╷
77 │       final result = await TUIRoomEngine.sharedInstance().invokeExperimentalAPI(jsonString);
   │             ^^^^^^
   ╵

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

WARNING: Braces unnecessarily wrap this expression in a set literal.

lib/manager/gift_manager.dart:117:40

    ╷
117 │         .forEach((roomId, giftList) => {newGiftListMap[roomId] = giftList});
    │                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
archive ^4.0.1 4.0.7 4.0.7
cached_network_image ^3.4.1 3.4.1 3.4.1
flutter_cache_manager ^3.4.1 3.4.1 3.4.1
http ^1.3.0 1.5.0 1.5.0
intl >=0.19.0 0.20.2 0.20.2
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
protobuf ^3.1.0 3.1.0 4.2.0
rtc_room_engine ^3.2.2 3.3.0+1 3.3.0+1
tencent_cloud_chat_sdk ^8.0.5901 8.7.7201 8.7.7201
tencent_cloud_uikit_core ^1.7.0 1.7.4 1.7.4
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
cached_network_image_platform_interface - 4.1.1 4.1.1
cached_network_image_web - 1.3.1 1.3.1
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mime_type - 1.0.1 1.0.1
octo_image - 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.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
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
posix - 6.0.3 6.0.3
rxdart - 0.28.0 0.28.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sqflite - 2.4.2 2.4.2
sqflite_android - 2.4.2+2 2.4.2+2
sqflite_common - 2.5.6 2.5.6
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
tencent_rtc_sdk - 12.6.3 12.6.3
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

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

The constraint `^3.1.0` on protobuf does not support the stable version `4.0.0`.

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.3, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: