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

live uikit gift component

80/ 160
pub points
511
downloads

We analyzed this package 2 days ago, and awarded it 80 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 1484777 elements... Initialized dartdoc with 2179 libraries Generating docs for library live_uikit_gift.dart from package:live_uikit_gift/live_uikit_gift.dart... Generating docs for library manager/cache/gift_cache_manager.dart from package:live_uikit_gift/manager/cache/gift_cache_manager.dart... Generating docs for library manager/index.dart from package:live_uikit_gift/manager/index.dart... Generating docs for library manager/like_manager.dart from package:live_uikit_gift/manager/like_manager.dart... Generating docs for library manager/gift_manager.dart from package:live_uikit_gift/manager/gift_manager.dart... [43 more lines] ERR: warning: live_uikit_barrage has no library level documentation comments from live_uikit_barrage: (file:///tmp/pana_LLFBEF/lib/live_uikit_gift.dart:1:1) warning: manager has no library level documentation comments from manager: (file:///tmp/pana_LLFBEF/lib/manager/index.dart:1:1) warning: gift has no library level documentation comments from gift: (file:///tmp/pana_LLFBEF/lib/widget/index.dart:1:1) warning: svgaplayer has no library level documentation comments from svgaplayer: (file:///tmp/pana_LLFBEF/lib/widget/svga_player/svga_player.dart:1:1) warning: unresolved doc reference [_SVGAPainter] from player.SVGAAnimationController.clear: (file:///tmp/pana_LLFBEF/lib/widget/svga_player/player.dart:113:8) [40 more lines]

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/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.

Swift Package Manager support:

Package does not support the Swift Package Manager on iOS

The package does not contain ios/live_uikit_gift/Package.swift.

Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin-ready: This Android plugin supports built-in Kotlin. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors 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 15 issues. Showing the first 2:

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

lib/manager/gift_manager.dart:106:68

    ╷
106 │     TUIGiftStore().giftListMap.value.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

WARNING: The declaration '_getAnimationWidget' isn't referenced.

lib/widget/gift/display/animation/widget/gift_full_screen_animation_widget.dart:120:10

    ╷
120 │   Widget _getAnimationWidget(String animationUrl) {
    │          ^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/widget/gift/display/animation/widget/gift_full_screen_animation_widget.dart

Failed report section
Support up-to-date dependencies
10 / 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.9 4.0.9
atomic_x_core any 5.0.2 5.0.2
cached_network_image ^3.4.1 3.4.1 3.4.1
flutter_cache_manager ^3.4.1 3.4.1 3.4.1
flutter_effect_player ^3.4.1 3.4.1 3.4.1
http ^1.3.0 1.6.0 1.6.0
intl >=0.19.0 0.20.2 0.20.3
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
protobuf ^3.1.0 3.1.0 6.0.0
rtc_room_engine any 4.2.0 4.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
cached_network_image_platform_interface - 4.1.1 4.1.1
cached_network_image_web - 1.3.1 1.3.1
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
code_assets - 1.2.1 1.2.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
hooks - 2.0.2 2.0.2
http_parser - 4.1.2 4.1.2
jni - 1.0.0 1.0.0
jni_flutter - 1.0.1 1.0.1
js - 0.6.7 0.7.2 Discontinued
json_annotation - 4.12.0 4.12.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.18.0 1.19.0
mime_type - 1.0.1 1.0.1
objective_c - 9.4.1 9.4.1
octo_image - 2.1.0 2.1.0
package_config - 2.2.0 3.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.6 2.1.6
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
posix - 6.5.0 6.5.0
pub_semver - 2.2.0 2.2.0
record_use - 0.6.0 0.6.0
rtc_room_engine_impl - 4.2.0 4.2.0
rxdart - 0.28.0 0.28.0
source_span - 1.10.2 1.10.2
sqflite - 2.4.3 2.4.3
sqflite_android - 2.4.3 2.4.3
sqflite_common - 2.5.11 2.5.11
sqflite_darwin - 2.4.3+1 2.4.3+1
sqflite_platform_interface - 2.4.1 2.4.1
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.1 3.4.1
tencent_cloud_chat_sdk - 9.0.7652+1 9.0.7652+1
tencent_rtc_sdk - 13.4.1 13.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.3 4.5.3
vector_math - 2.2.0 2.4.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 89 errors:

  • UNDEFINED_CLASS - lib/gift_define.dart:4:5 - Undefined class 'Gift'.
  • UNDEFINED_CLASS - lib/gift_define.dart:4:27 - Undefined class 'LiveUserInfo'.
  • UNDEFINED_CLASS - lib/gift_define.dart:6:44 - Undefined class 'Gift'.

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.23.14, Flutter 3.44.4, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: