flutter_openim_widget 2.3.2 copy "flutter_openim_widget: ^2.3.2" to clipboard
flutter_openim_widget: ^2.3.2 copied to clipboard

The public ui library is used with the openim demo, and you can directly use it for secondary development.

3
likes
70/ 160
pub points
93
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

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

1019 out of 2179 API elements (46.8 %) 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:flutter_openim_widget/flutter_openim_widget.dart that imports:
  • package:flutter_openim_widget/src/util/image_util.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_openim_widget/flutter_openim_widget.dart that imports:
  • package:flutter_openim_widget/src/util/permission_util.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows.
Package does not support platform `macOS`.

Because:

  • package:flutter_openim_widget/flutter_openim_widget.dart that imports:
  • package:flutter_openim_widget/src/util/permission_util.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows.
Package does not support platform `Web`.

Because:

  • package:flutter_openim_widget/flutter_openim_widget.dart that imports:
  • package:flutter_openim_widget/src/util/voice_record.dart that imports:
  • package:path_provider/path_provider.dart that 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.dart that imports:
  • package:flutter_openim_widget/src/chat_video_player_view.dart that imports:
  • package:chewie/chewie.dart that imports:
  • package:chewie/src/material/material_desktop_controls.dart that imports:
  • package:chewie/src/chewie_player.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:flutter_openim_widget/flutter_openim_widget.dart that imports:
  • package:flutter_openim_widget/src/chat_video_player_view.dart that imports:
  • package:chewie/chewie.dart that imports:
  • package:chewie/src/material/material_desktop_controls.dart that imports:
  • package:chewie/src/chewie_player.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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

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

Found 59 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

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
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.11.3 1.11.3
dio ^4.0.6 4.0.6 5.8.0+1
emoji_picker_flutter ^1.4.0 1.6.4 4.3.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 2.3.5+3 3.8.3+hotfix.3.1
flutter_screenutil ^5.5.4 5.9.3 5.9.3
flutter_slidable ^2.0.0 2.0.0 4.0.0
flutter_svg ^1.1.5 1.1.6 2.2.0
font_awesome_flutter ^10.2.1 10.8.0 10.8.0
just_audio ^0.9.29 0.9.46 0.10.4
lottie ^1.4.3 1.4.3 3.3.1
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.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.0.0
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.0 2.10.0
visibility_detector ^0.3.3 0.3.3 0.4.0+2
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.7
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
audio_session - 0.1.25 0.2.2
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
csslib - 1.0.2 1.0.2
cupertino_icons - 1.0.8 1.0.8
dbus - 0.7.11 0.7.11
extended_text_library - 9.1.1 12.0.1
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_keyboard_visibility_linux - 1.0.0 1.0.0
flutter_keyboard_visibility_macos - 1.0.0 1.0.0
flutter_keyboard_visibility_platform_interface - 2.0.0 2.0.0
flutter_keyboard_visibility_web - 2.0.0 2.0.0
flutter_keyboard_visibility_windows - 1.0.0 1.0.0
html - 0.15.6 0.15.6
http - 1.4.0 1.4.0
http_parser - 4.1.2 4.1.2
just_audio_platform_interface - 4.5.0 4.5.0
just_audio_web - 0.4.16 0.4.16
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
nested - 1.0.0 1.0.0
octo_image - 2.1.0 2.1.0
package_info_plus - 8.3.0 8.3.0
package_info_plus_platform_interface - 3.2.0 3.2.0
path - 1.9.1 1.9.1
path_drawing - 1.0.1 1.0.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.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
permission_handler_android - 10.3.6 13.0.1
permission_handler_apple - 9.1.4 9.4.7
permission_handler_platform_interface - 3.12.0 4.3.0
permission_handler_windows - 0.1.3 0.2.1
petitparser - 6.1.0 7.0.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5 6.1.5
record_linux - 0.4.1 1.1.1
record_macos - 0.2.2 1.0.0
record_platform_interface - 0.5.0 1.3.0
record_web - 0.5.0 1.1.8
record_windows - 0.7.1 1.0.6
shared_preferences - 2.5.3 2.5.3
shared_preferences_android - 2.4.10 2.4.10
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
sqflite - 2.4.2 2.4.2
sqflite_android - 2.4.1 2.4.1
sqflite_common - 2.5.5 2.5.5
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
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.1.4 2.2.0
video_player_android - 2.8.7 2.8.7
video_player_avfoundation - 2.7.1 2.7.1
video_player_platform_interface - 6.3.0 6.3.0
video_player_web - 2.3.5 2.3.5
wakelock_plus - 1.3.2 1.3.2
wakelock_plus_platform_interface - 1.2.3 1.2.3
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.6.0

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.

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 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.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: