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

outdated

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

3
likes
70/ 140
pub points
47%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

990 out of 2014 API elements (49.2 %) have documentation comments.

Some symbols that are missing documentation: flutter_openim_widget, flutter_openim_widget.AdvancedMessage, flutter_openim_widget.AdvancedMessage.AdvancedMessage, flutter_openim_widget.AdvancedMessage.errCode, flutter_openim_widget.AdvancedMessage.errMsg.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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/voice_record.dart that imports:
  • package:record/record.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

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

Because:

  • package:flutter_openim_widget/flutter_openim_widget.dart that imports:
  • package:flutter_openim_widget/src/util/voice_record.dart that imports:
  • package:record/record.dart that declares support for platforms: Android, iOS, Web.
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_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_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 41 issues. Showing the first 2:

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:140:9

    ╷
140 │   final MenuStyle? menuStyle;
    │         ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/chat_itemview.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:685:13

    ╷
685 │             MenuStyle(
    │             ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/chat_itemview.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
animate_do ^2.1.0 2.1.0 3.3.4
chewie ^1.3.1 1.8.1 1.8.1
dio ^4.0.6 4.0.6 5.4.3+1
extended_image ^6.0.2+1 6.4.1 8.2.1
extended_text_field ^10.0.1 10.2.0 15.0.0
flutter flutter 0.0.0 0.0.0
flutter_cache_manager ^3.3.0 3.3.1 3.3.2
flutter_image_compress ^1.1.0 1.1.3 2.3.0
flutter_inappwebview ^5.3.2 5.8.0 6.0.0
flutter_openim_sdk ^2.0.0+6 2.3.5+3 3.5.1
flutter_screenutil ^5.3.1 5.9.3 5.9.3
flutter_slidable ^1.2.0 1.3.2 3.1.0
flutter_svg ^1.0.3 1.1.6 2.0.10+1
focus_detector ^2.0.1 2.0.1 2.0.1
font_awesome_flutter ^10.0.0 10.7.0 10.7.0
just_audio ^0.9.20 0.9.38 0.9.38
lottie ^1.2.2 1.4.3 3.1.2
mime_type ^1.0.0 1.0.0 1.0.0
path_provider ^2.0.9 2.1.3 2.1.3
permission_handler ^9.1.0 9.2.0 11.3.1
qq_badge ^0.0.2 0.0.2 0.0.2
record ^3.0.2 3.0.4 5.1.1
rxdart ^0.27.3 0.27.7 0.27.7
sprintf ^6.0.0 6.0.2 7.0.0
video_player ^2.3.0 2.8.6 2.8.6
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
audio_session - 0.1.19 0.1.19
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
csslib - 1.0.0 1.0.0
cupertino_icons - 1.0.8 1.0.8
dbus - 0.7.10 0.7.10
extended_image_library - 3.6.0 4.0.4
extended_text_library - 9.1.1 12.0.0
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_plugin_android_lifecycle - 2.0.20 2.0.20
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.4 0.15.4
http - 1.2.1 1.2.1
http_client_helper - 3.0.0 3.0.0
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
just_audio_platform_interface - 4.3.0 4.3.0
just_audio_web - 0.4.11 0.4.11
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
nested - 1.0.0 1.0.0
package_info_plus - 8.0.0 8.0.0
package_info_plus_platform_interface - 3.0.0 3.0.0
path - 1.9.0 1.9.0
path_drawing - 1.0.1 1.0.1
path_parsing - 1.0.1 1.0.1
path_provider_android - 2.2.5 2.2.5
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
permission_handler_android - 9.0.2+1 12.0.6
permission_handler_apple - 9.1.4 9.4.4
permission_handler_platform_interface - 3.12.0 4.2.1
permission_handler_windows - 0.1.3 0.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
record_platform_interface - 0.2.0 1.1.0
record_web - 0.2.1 1.1.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sqflite - 2.3.3+1 2.3.3+1
sqflite_common - 2.5.4 2.5.4
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 4.4.0
vector_math - 2.1.4 2.1.4
video_player_android - 2.4.16 2.4.16
video_player_avfoundation - 2.6.1 2.6.1
video_player_platform_interface - 6.2.2 6.2.2
video_player_web - 2.3.1 2.3.1
visibility_detector - 0.2.2 0.4.0+2
wakelock_plus - 1.2.5 1.2.5
wakelock_plus_platform_interface - 1.2.1 1.2.1
web - 0.5.1 0.5.1
win32 - 5.5.1 5.5.1
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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

Analyzed with Pana 0.22.3, Flutter 3.22.1, Dart 3.4.1.

Check the analysis log for details.