flutter_chen_im 0.0.2 copy "flutter_chen_im: ^0.0.2" to clipboard
flutter_chen_im: ^0.0.2 copied to clipboard

A new Flutter package for im.

2
likes
50/ 160
pub points
81
downloads

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

failed
Follow Dart file conventions
20 / 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: flutter_chen_im,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: flutter_chen_im.

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
0 / 20trigger folding of the section

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

22 out of 160 API elements (13.8 %) 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: Im_message, assets, assets.Assets.imEmoji, assets.Assets.imIcSoundFrom1, assets.Assets.imIcSoundFrom2.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
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_chen_im/flutter_chen_im.dart that imports:
  • package:flutter_chen_im/widgets/im_video_player.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_chen_im/flutter_chen_im.dart that imports:
  • package:flutter_chen_im/widgets/im_video_player.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:flutter_chen_im/flutter_chen_im.dart that imports:
  • package:flutter_chen_im/widgets/im_record_panel.dart that imports:
  • package:flutter_chen_im/common/service/audio_recorder_service.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `Web`.

Because:

  • package:flutter_chen_im/flutter_chen_im.dart that imports:
  • package:flutter_chen_im/widgets/im_record_panel.dart that imports:
  • package:flutter_chen_im/common/service/audio_recorder_service.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_chen_im/flutter_chen_im.dart that imports:
  • package:flutter_chen_im/widgets/im_message_item.dart that imports:
  • package:flutter_chen_common/flutter_chen_common.dart that imports:
  • package:flutter_chen_common/common/helper/helper.dart that imports:
  • package:flutter_chen_common/common/helper/update_helper.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:flutter_chen_im/flutter_chen_im.dart that imports:
  • package:flutter_chen_im/widgets/im_message_item.dart that imports:
  • package:flutter_chen_common/flutter_chen_common.dart that imports:
  • package:flutter_chen_common/common/helper/helper.dart that imports:
  • package:flutter_chen_common/common/helper/update_helper.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

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
Pass static analysis
0 / 50trigger folding of the section

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

Found 14 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'package:flutter_chen_im/model/Im_message.dart'.

lib/widgets/im_message_audio.dart:5:8

  ╷
5 │ import 'package:flutter_chen_im/model/Im_message.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

ERROR: Undefined class 'ImMessage'.

lib/widgets/im_message_audio.dart:8:9

  ╷
8 │   final ImMessage data;
  │         ^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_chen_common ^0.0.7 0.0.9 1.4.0
flutter_sound ^9.2.13 9.2.13 9.17.8
get ^4.0.0 4.6.6 4.6.6
path_provider ^2.0.0 2.1.5 2.1.5
permission_handler ^11.0.0 11.3.1 11.3.1
video_compress ^3.1.2 3.1.3 3.1.3
video_player ^2.8.2 2.9.2 2.9.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
bot_toast - 4.1.3 4.1.3
cached_network_image - 3.3.1 3.4.1
cached_network_image_platform_interface - 4.0.0 4.1.1
cached_network_image_web - 1.2.0 1.3.1
card_swiper - 3.0.1 3.0.1
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
cookie_jar - 4.0.8 4.0.8
cross_file - 0.3.3+8 0.3.4+2
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
dio - 5.7.0 5.7.0
dio_cookie_manager - 3.1.1 3.1.1
dio_web_adapter - 1.0.1 2.0.0
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.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_windows - 0.9.3+3 0.9.3+3
flutter_cache_manager - 3.3.1 3.4.1
flutter_downloader - 1.11.8 1.11.8
flutter_plugin_android_lifecycle - 2.0.24 2.0.24
flutter_reorderable_grid_view - 5.4.0 5.4.0
flutter_screenutil - 5.9.3 5.9.3
flutter_sound_platform_interface - 9.2.13 9.17.8
flutter_sound_web - 9.2.13 9.17.8
flutter_staggered_grid_view - 0.7.0 0.7.0
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.5 0.15.5
http - 0.13.6 1.2.2
http_parser - 4.1.1 4.1.1
image_cropper - 4.0.1 8.1.0
image_cropper_for_web - 2.0.0 6.0.2
image_cropper_platform_interface - 4.0.0 7.0.0
image_gallery_saver - 2.0.3 2.0.3
image_picker - 1.1.2 1.1.2
image_picker_android - 0.8.12+18 0.8.12+18
image_picker_for_web - 3.0.2 3.0.6
image_picker_ios - 0.8.12+1 0.8.12+1
image_picker_linux - 0.2.1+1 0.2.1+1
image_picker_macos - 0.2.1+1 0.2.1+1
image_picker_platform_interface - 2.10.0 2.10.0
image_picker_windows - 0.2.1+1 0.2.1+1
js - 0.6.7 0.7.1
logger - 1.4.0 2.5.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 1.0.6 2.0.0
multi_image_picker_view - 1.1.0 2.0.0
nested - 1.0.0 1.0.0
octo_image - 2.1.0 2.1.0
open_file - 3.5.4 3.5.10
open_file_android - 1.0.6 1.0.6
open_file_ios - 1.0.3 1.0.3
open_file_linux - 0.0.5 0.0.5
open_file_mac - 1.0.3 1.0.3
open_file_platform_interface - 1.0.3 1.0.3
open_file_web - 0.0.2 0.0.4
open_file_windows - 0.0.3 0.0.3
package_info_plus - 5.0.1 8.1.2
package_info_plus_platform_interface - 2.0.1 3.0.2
path - 1.9.1 1.9.1
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
permission_handler_android - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.1 0.1.3+5
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
photo_view - 0.14.0 0.15.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
pull_to_refresh - 2.0.0 2.0.0
recase - 4.1.0 4.1.0
rxdart - 0.27.7 0.28.0
shared_preferences - 2.2.3 2.3.4
shared_preferences_android - 2.4.0 2.4.0
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.2.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sqflite - 2.4.1 2.4.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
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_io - 2.2.2 2.2.2
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.4
video_player_android - 2.7.16 2.7.16
video_player_avfoundation - 2.6.5 2.6.5
video_player_platform_interface - 6.2.3 6.2.3
video_player_web - 2.2.0 2.3.3
web - 0.4.2 1.1.0
win32 - 5.9.0 5.9.0
xdg_directories - 1.1.0 1.1.0

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

The constraint `^0.0.7` on flutter_chen_common does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions flutter_chen_common 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 10 errors:

  • URI_DOES_NOT_EXIST - lib/widgets/im_message_audio.dart:5:8 - Target of URI doesn't exist: 'package:flutter_chen_im/model/Im_message.dart'.
  • UNDEFINED_CLASS - lib/widgets/im_message_audio.dart:8:9 - Undefined class 'ImMessage'.
  • URI_DOES_NOT_EXIST - lib/widgets/im_message_item.dart:4:8 - Target of URI doesn't exist: 'package:flutter_chen_im/model/Im_message.dart'.

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.