live_uikit_gift 2.2.0
live_uikit_gift: ^2.2.0 copied to clipboard
live uikit gift component
We analyzed this package 5 days ago, and awarded it 110 pub points (of a possible 160):
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.
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: MIT.
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 1408637 elements... Initialized dartdoc with 1664 libraries Generating docs for library common/index.dart from package:live_uikit_gift/common/index.dart... Generating docs for library common/constants/index.dart from package:live_uikit_gift/common/constants/index.dart... Generating docs for library common/constants/constants.dart from package:live_uikit_gift/common/constants/constants.dart... Generating docs for library common/resources/index.dart from package:live_uikit_gift/common/resources/index.dart... Generating docs for library common/resources/images.dart from package:live_uikit_gift/common/resources/images.dart... [43 more lines] ERR: warning: common has no library level documentation comments from common: (file:///tmp/pana_WUKREH/lib/common/index.dart:1:1) warning: constants has no library level documentation comments from constants: (file:///tmp/pana_WUKREH/lib/common/constants/index.dart:1:1) warning: resources has no library level documentation comments from resources: (file:///tmp/pana_WUKREH/lib/common/resources/index.dart:1:1) warning: language has no library level documentation comments from language: (file:///tmp/pana_WUKREH/lib/common/language/index.dart:1:1) warning: manager has no library level documentation comments from manager: (file:///tmp/pana_WUKREH/lib/manager/index.dart:1:1) [60 more lines]
10/10 points: Package has an example
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.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:live_uikit_gift/live_uikit_gift.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:live_uikit_gift/live_uikit_gift.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:live_uikit_gift/live_uikit_gift.dartthat declares support for platforms:Android,iOS.
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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 283 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
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.6.0 | 1.6.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 | 6.0.0 | |
rtc_room_engine |
^3.5.0 |
3.5.0 | 3.5.0 | |
tencent_cloud_chat_sdk |
^8.0.5901 |
8.8.7354 | 8.8.7354 | |
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.7 | 3.0.7 | |
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.17.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.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.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 | |
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 | |
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.8.2 | 12.8.2 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.3, Flutter 3.38.2, Dart 3.10.0.
Check the analysis log for details.