flutter_openim_widget 2.3.1
flutter_openim_widget: ^2.3.1 copied to clipboard
The public ui library is used with the openim demo, and you can directly use it for secondary development.
We analyzed this package 5 days ago, and awarded it 70 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.
10/10 points: 20% or more of the public API has dartdoc comments
1019 out of 2171 API elements (46.9 %) have documentation comments.
Some symbols that are missing documentation: flutter_openim_widget, flutter_openim_widget.AddFriendFailedCode.AddFriendFailedCode.new, flutter_openim_widget.AdvancedMessage, flutter_openim_widget.AdvancedMessage.AdvancedMessage.fromJson, flutter_openim_widget.AdvancedMessage.AdvancedMessage.new.
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:flutter_openim_widget/flutter_openim_widget.dartthat imports:package:flutter_openim_widget/src/util/image_util.dartthat imports:package:cached_network_image/cached_network_image.dartthat imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:flutter_openim_widget/flutter_openim_widget.dartthat imports:package:flutter_openim_widget/src/util/permission_util.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows.
Package does not support platform `macOS`.
Because:
package:flutter_openim_widget/flutter_openim_widget.dartthat imports:package:flutter_openim_widget/src/util/permission_util.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows.
Package does not support platform `Web`.
Because:
package:flutter_openim_widget/flutter_openim_widget.dartthat imports:package:flutter_openim_widget/src/util/voice_record.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
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:flutter_openim_widget/flutter_openim_widget.dartthat imports:package:flutter_openim_widget/src/chat_video_player_view.dartthat imports:package:chewie/chewie.dartthat imports:package:chewie/src/material/material_desktop_controls.dartthat imports:package:chewie/src/chewie_player.dartthat imports:package:wakelock_plus/wakelock_plus.dartthat imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dartthat imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:flutter_openim_widget/flutter_openim_widget.dartthat imports:package:flutter_openim_widget/src/chat_video_player_view.dartthat imports:package:chewie/chewie.dartthat imports:package:chewie/src/material/material_desktop_controls.dartthat imports:package:chewie/src/chewie_player.dartthat imports:package:wakelock_plus/wakelock_plus.dartthat imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dartthat imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 71 issues. Showing the first 2:
ERROR: The named parameter 'showRecentsTab' isn't defined.
lib/src/chat_emoji_view.dart:262:11
╷
262 │ showRecentsTab: true,
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/chat_emoji_view.dart
ERROR: The name 'MenuStyle' is defined in the libraries 'package:flutter/src/material/menu_style.dart (via package:flutter/material.dart)' and 'package:flutter_openim_widget/src/chat_menu.dart (via package:flutter_openim_widget/flutter_openim_widget.dart)'.
lib/src/chat_itemview.dart:141:9
╷
141 │ final MenuStyle? menuStyle;
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/chat_itemview.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
animate_do |
^2.1.0 |
2.1.0 | 4.2.0 | |
cached_network_image |
^3.2.2 |
3.4.1 | 3.4.1 | |
chewie |
^1.3.5 |
1.13.0 | 1.13.0 | |
dio |
^4.0.6 |
4.0.6 | 5.9.0 | |
emoji_picker_flutter |
^1.4.0 |
1.6.4 | 4.4.0 | |
extended_text_field |
^10.1.1 |
10.2.0 | 16.0.2 | |
flutter_cache_manager |
^3.3.0 |
3.4.1 | 3.4.1 | |
flutter_image_compress |
^1.1.3 |
1.1.3 | 2.4.0 | |
flutter_inappwebview |
^5.4.4+3 |
5.8.0 | 6.1.5 | |
flutter_keyboard_visibility |
^5.3.0 |
5.4.1 | 6.0.0 | |
flutter_openim_sdk |
^2.3.4 |
2.3.5+3 | 3.8.3+hotfix.10.1 | |
flutter_screenutil |
^5.5.4 |
5.9.3 | 5.9.3 | |
flutter_slidable |
^2.0.0 |
2.0.0 | 4.0.3 | |
flutter_svg |
^1.1.5 |
1.1.6 | 2.2.3 | |
font_awesome_flutter |
^10.2.1 |
10.12.0 | 10.12.0 | |
just_audio |
^0.9.29 |
0.9.46 | 0.10.5 | |
lottie |
^1.4.3 |
1.4.3 | 3.3.2 | |
mime_type |
^1.0.0 |
1.0.1 | 1.0.1 | |
path_provider |
^2.0.11 |
2.1.5 | 2.1.5 | |
permission_handler |
^10.1.0 |
10.4.5 | 12.0.1 | |
photo_view |
^0.14.0 |
0.14.0 | 0.15.0 | |
qq_badge |
^0.0.2 |
0.0.2 | 0.0.2 | |
record |
^4.4.1 |
4.4.4 | 6.1.2 | |
rxdart |
^0.27.5 |
0.27.7 | 0.28.0 | |
should_rebuild |
^1.0.1 |
1.0.1 | 1.0.1 | |
sprintf |
^7.0.0 |
7.0.0 | 7.0.0 | |
video_player |
^2.4.7 |
2.10.1 | 2.10.1 | |
visibility_detector |
^0.3.3 |
0.3.3 | 0.4.0+2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 17 issues. Showing the first 2:
The constraint `^2.1.0` on animate_do does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions animate_do to update the constraint.
The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio 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 3 errors:
AMBIGUOUS_IMPORT-lib/src/chat_itemview.dart:141:9- The name 'MenuStyle' is defined in the libraries 'package:flutter/src/material/menu_style.dart (via package:flutter/material.dart)' and 'package:flutter_openim_widget/src/chat_menu.dart (via package:flutter_openim_widget/flutter_openim_widget.dart)'.AMBIGUOUS_IMPORT-lib/src/chat_itemview.dart:738:13- The name 'MenuStyle' is defined in the libraries 'package:flutter/src/material/menu_style.dart (via package:flutter/material.dart)' and 'package:flutter_openim_widget/src/chat_menu.dart (via package:flutter_openim_widget/flutter_openim_widget.dart)'.INVOCATION_OF_NON_FUNCTION-lib/src/chat_itemview.dart:738:13- 'MenuStyle' isn't a function.
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.3, Flutter 3.38.2, Dart 3.10.0.
Check the analysis log for details.