light_im_uikit 0.1.1 copy "light_im_uikit: ^0.1.1" to clipboard
light_im_uikit: ^0.1.1 copied to clipboard

A light im.

0
likes
105/ 160
pub points
85
downloads

We analyzed this package 2 days ago, and awarded it 105 pub points (of a possible 160):

failed
Follow Dart file conventions
15 / 30trigger folding of the section

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 60 to 180 characters to describe the package, what it does, and its target use case.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: light_im_uikit,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository defines publish_to, thus, we are unable to verify the package is published from here.

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

partial
Provide documentation
10 / 20trigger folding of the section

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

42 out of 414 API elements (10.1 %) 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: light_im_uikit, light_im_uikit.AudioElemReqModel, light_im_uikit.AudioElemReqModel.AudioElemReqModel, light_im_uikit.AudioElemReqModel.AudioElemReqModel.fromMap, light_im_uikit.AudioElemReqModel.contentType.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:light_im_uikit/light_im_uikit.dart that imports:
  • package:light_im_uikit/src/light_im_uikit.dart that imports:
  • package:light_im_uikit/src/model/model.dart that imports:
  • package:light_im_uikit/src/model/message.dart that imports:
  • package:fc_native_video_thumbnail/fc_native_video_thumbnail.dart that declares support for platforms: Android, iOS, Windows, macOS.
Package does not support platform `Web`.

Because:

  • package:light_im_uikit/light_im_uikit.dart that imports:
  • package:light_im_uikit/src/light_im_uikit.dart that imports:
  • package:light_im_uikit/src/model/model.dart that imports:
  • package:light_im_uikit/src/model/message.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:light_im_uikit/light_im_uikit.dart that imports:
  • package:light_im_uikit/src/pages/pages.dart that imports:
  • package:light_im_uikit/src/pages/chat.dart that imports:
  • package:light_im_uikit/src/pages/video_player.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/src/video/video.dart that imports:
  • package:media_kit_video/src/video/video_texture.dart that imports:
  • package:media_kit_video/src/utils/wakelock.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:light_im_uikit/light_im_uikit.dart that imports:
  • package:light_im_uikit/src/pages/pages.dart that imports:
  • package:light_im_uikit/src/pages/chat.dart that imports:
  • package:light_im_uikit/src/pages/video_player.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/src/video/video.dart that imports:
  • package:media_kit_video/src/video/video_texture.dart that imports:
  • package:media_kit_video/src/utils/wakelock.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 `Windows`.

Because:

  • package:light_im_uikit/light_im_uikit.dart that imports:
  • package:light_im_uikit/src/pages/pages.dart that imports:
  • package:light_im_uikit/src/pages/chat.dart that imports:
  • package:light_im_uikit/src/pages/video_player.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/material.dart that imports:
  • package:volume_controller/volume_controller.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:light_im_uikit/light_im_uikit.dart that imports:
  • package:light_im_uikit/src/pages/pages.dart that imports:
  • package:light_im_uikit/src/pages/chat.dart that imports:
  • package:light_im_uikit/src/pages/video_player.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/material.dart that imports:
  • package:volume_controller/volume_controller.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:light_im_uikit/light_im_uikit.dart that imports:
  • package:light_im_uikit/src/light_im_uikit.dart that imports:
  • package:light_im_uikit/src/model/model.dart that imports:
  • package:light_im_uikit/src/model/message.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

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

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

WARNING: This default clause is covered by the previous cases.

lib/src/pages/chat.dart:203:7

    ╷
203 │       default:
    │       ^^^^^^^
    ╵

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

INFO: 'ButtonBar' is deprecated and shouldn't be used. Use OverflowBar instead. This feature was deprecated after v3.21.0-10.0.pre.

lib/src/pages/chat.dart:256:11

    ╷
256 │           ButtonBar(
    │           ^^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
cross_file ^0.3.3+8 0.3.4+2 0.3.4+2
extended_image ^8.2.0 8.3.1 9.0.9
extended_text_field ^13.0.1 13.1.1 16.0.2
fc_native_video_thumbnail ^0.8.0 0.8.0 0.16.1
file_selector ^1.0.3 1.0.3 1.0.3
flutter flutter 0.0.0 0.0.0
flutter_slidable ^3.0.1 3.1.2 3.1.2
light_im_sdk ^0.1.0 0.1.0 0.1.0
media_kit ^1.1.10+1 1.1.11 1.1.11
media_kit_libs_video ^1.0.4 1.0.5 1.0.5
media_kit_video ^1.2.4 1.2.5 1.2.5
path ^1.8.3 1.9.1 1.9.1
path_provider ^2.1.2 2.1.5 2.1.5
provider ^6.1.1 6.1.2 6.1.2
record ^4.4.4 4.4.4 5.2.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 4.0.2 4.0.2
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
crypto - 3.0.6 3.0.6
dbus - 0.7.10 0.7.10
dio - 5.7.0 5.7.0
dio_web_adapter - 2.0.0 2.0.0
extended_image_library - 4.0.5 4.0.5
extended_text_library - 12.0.1 12.0.1
ffi - 2.1.3 2.1.3
file_selector_android - 0.5.1+12 0.5.1+12
file_selector_ios - 0.5.3+1 0.5.3+1
file_selector_linux - 0.9.3+2 0.9.3+2
file_selector_macos - 0.9.4+2 0.9.4+2
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_web - 0.9.4+2 0.9.4+2
file_selector_windows - 0.9.3+3 0.9.3+3
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_client_helper - 3.0.0 3.0.0
http_parser - 4.1.1 4.1.1
image - 4.5.2 4.5.2
js - 0.6.7 0.7.1
material_color_utilities - 0.11.1 0.12.0
media_kit_libs_android_video - 1.3.6 1.3.6
media_kit_libs_ios_video - 1.1.4 1.1.4
media_kit_libs_linux - 1.1.3 1.1.3
media_kit_libs_macos_video - 1.1.4 1.1.4
media_kit_libs_windows_video - 1.0.10 1.0.10
media_kit_native_event_loop - 1.0.9 1.0.9
meta - 1.15.0 1.16.0
mime - 1.0.6 2.0.0
nested - 1.0.0 1.0.0
package_info_plus - 8.1.2 8.1.2
package_info_plus_platform_interface - 3.0.2 3.0.2
path_provider_android - 2.2.15 2.2.15
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
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.1 6.0.1
record_linux - 0.4.1 0.7.2
record_macos - 0.2.2 0.2.2
record_platform_interface - 0.5.0 1.2.0
record_web - 0.5.0 1.1.4
record_windows - 0.7.1 1.0.4
safe_local_storage - 1.0.2 2.0.1
screen_brightness - 0.2.2+1 2.0.1
screen_brightness_android - 0.1.0+2 2.0.0
screen_brightness_ios - 0.1.0 2.0.0
screen_brightness_macos - 0.1.0+1 2.0.0
screen_brightness_platform_interface - 0.1.0 2.0.0
screen_brightness_windows - 0.1.3 2.0.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_platform - 1.1.0 1.1.0
uri_parser - 2.0.2 3.0.0
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.4
volume_controller - 2.0.8 2.0.8
wakelock_plus - 1.2.10 1.2.10
wakelock_plus_platform_interface - 1.2.2 1.2.2
web - 1.1.0 1.1.0
web_socket_channel - 2.4.0 3.0.1
win32 - 5.9.0 5.9.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

Found 4 issues. Showing the first 2:

The constraint `^8.2.0` on extended_image does not support the stable version `9.0.0`.

Try running dart pub upgrade --major-versions extended_image to update the constraint.

The constraint `^13.0.1` on extended_text_field does not support the stable version `14.0.0`.

Try running dart pub upgrade --major-versions extended_text_field 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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.