em_chat_uikit 2.3.0
em_chat_uikit: ^2.3.0 copied to clipboard
A set of ui components adapted to the chat sdk can quickly build a chat page and chat through the chat sdk by invoking the ui components.
We analyzed this package 9 days ago, and awarded it 110 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
1497 out of 8304 API elements (18.0 %) 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: action_event_observer, action_event_observer.ChatSDKEventsObserver, action_event_observer.ChatSDKEventsObserver.ChatSDKEventsObserver.new, action_event_observer.ChatSDKEventsObserver.onChatSDKEventBegin, action_event_observer.ChatSDKEventsObserver.onChatSDKEventEnd.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:em_chat_uikit/chat_sdk_context/chat_sdk_context.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:em_chat_uikit/chat_sdk_context/chat_sdk_context.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:em_chat_uikit/chat_sdk_context/chat_sdk_context.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:em_chat_uikit/chat_sdk_context/chat_sdk_context.dartthat declares support for platforms:Android,iOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:em_chat_uikit/chat_uikit.dartthat imports:package:em_chat_uikit/chatroom_uikit/chatroom_uikit.dartthat imports:package:em_chat_uikit/chatroom_uikit/src/widgets/chatroom_uikit_avatar.dartthat imports:package:em_chat_uikit/chat_uikit/src/chat_uikit_settings.dartthat imports:package:em_chat_uikit/chat_uikit/chat_uikit.dartthat imports:package:em_chat_uikit/chat_uikit/src/ui/views/thread_messages_view.dartthat imports:package:file_picker/file_picker.dartthat imports:package:file_picker/src/windows/file_picker_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:em_chat_uikit/chat_uikit.dartthat imports:package:em_chat_uikit/chatroom_uikit/chatroom_uikit.dartthat imports:package:em_chat_uikit/chatroom_uikit/src/widgets/chatroom_uikit_avatar.dartthat imports:package:em_chat_uikit/chat_uikit/src/chat_uikit_settings.dartthat imports:package:em_chat_uikit/chat_uikit/chat_uikit.dartthat imports:package:em_chat_uikit/chat_uikit/src/ui/views/thread_messages_view.dartthat imports:package:file_picker/file_picker.dartthat imports:package:file_picker/src/windows/file_picker_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/em_chat_uikit/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 48 issues. Showing the first 2:
WARNING: Dead code.
lib/chat_uikit/src/ui/widgets/room_members_widget.dart:426:5
╷
426 │ ┌ Widget content;
427 │ │ final theme = ChatUIKitTheme.instance;
428 │ │ content = ValueListenableBuilder(
429 │ │ valueListenable: isSearch,
430 │ │ builder: (context, value, child) {
431 │ │ Widget content;
432 │ │ if (value) {
433 │ │ content = Row(
434 │ │ crossAxisAlignment: CrossAxisAlignment.center,
435 │ │ children: [
436 │ │ Expanded(
437 │ │ child: Container(
438 │ │ margin: const EdgeInsets.fromLTRB(16, 4, 0, 4),
439 │ │ height: 36,
440 │ │ decoration: BoxDecoration(
│ └──────────────────────────────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/chat_uikit/src/ui/widgets/room_members_widget.dart
INFO: 'sender' is deprecated and shouldn't be used. The `sender` parameter is deprecated, use `senders` instead.
lib/chat_sdk_service/src/actions/chat_actions.dart:371:9
╷
371 │ sender: sender,
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/chat_sdk_service/src/actions/chat_actions.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
audioplayers |
6.0.0 |
6.0.0 | 6.5.1 | |
cached_network_image |
3.3.1 |
3.3.1 | 3.4.1 | |
chat_uikit_keyboard_panel |
0.1.2 |
0.1.2 | 0.1.2 | |
chat_uikit_theme |
1.0.4 |
1.0.4 | 1.0.4 | |
file_picker |
8.3.2 |
8.3.2 | 10.3.8 | |
flutter_localization |
0.2.0 |
0.2.0 | 0.3.3 | |
html |
^0.15.4 |
0.15.6 | 0.15.6 | |
im_flutter_sdk |
4.15.2 |
4.15.2 | 4.17.0 | |
image_picker |
1.1.2 |
1.1.2 | 1.2.1 | |
path_provider |
2.1.4 |
2.1.4 | 2.1.5 | |
record |
6.1.1 |
6.1.1 | 6.1.2 | |
scroll_to_index |
^3.0.1 |
3.0.1 | 3.0.1 | |
shared_preferences |
2.2.3 |
2.2.3 | 2.5.4 | |
video_compress |
3.1.4 |
3.1.4 | 3.1.4 | |
video_player |
2.9.5 |
2.9.5 | 2.10.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 10 issues. Showing the first 2:
The constraint `6.0.0` on audioplayers does not support the stable version `6.1.0`.
Try running dart pub upgrade --major-versions audioplayers to update the constraint.
The constraint `3.3.1` on cached_network_image does not support the stable version `3.4.0`.
Try running dart pub upgrade --major-versions cached_network_image 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.4, Dart 3.10.3.
Check the analysis log for details.