chat_flutter 2.0.2 copy "chat_flutter: ^2.0.2" to clipboard
chat_flutter: ^2.0.2 copied to clipboard

A Flutter plugin toolkit for displaying chat records. Supporting basic content display of images, files, voice, text, and videos.

5
likes
100/ 160
pub points
25%
popularity

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

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

164 out of 179 API elements (91.6 %) have documentation comments.

Some symbols that are missing documentation: audio_box, avatar, chat_flutter, chat_image_list, chat_view_item.

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

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:chat_flutter/chat_flutter.dart that imports:
  • package:chat_flutter/widgets/chat_view_item/chat_view_item.dart that imports:
  • package:chat_flutter/widgets/chat_view_item_record_body/chat_view_item_record_body.dart that imports:
  • package:chat_flutter/widgets/video_box/video_box.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:chat_flutter/chat_flutter.dart that imports:
  • package:chat_flutter/widgets/chat_view_item/chat_view_item.dart that imports:
  • package:chat_flutter/widgets/chat_view_item_record_body/chat_view_item_record_body.dart that imports:
  • package:chat_flutter/widgets/video_box/video_box.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:chat_flutter/chat_flutter.dart that imports:
  • package:chat_flutter/widgets/chat_view_item/chat_view_item.dart that imports:
  • package:chat_flutter/widgets/chat_view_item_record_body/chat_view_item_record_body.dart that imports:
  • package:chat_flutter/widgets/video_box/video_box.dart that imports:
  • package:video_player/video_player.dart that imports:
  • dart:io

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 3 issues. Showing the first 2:

ERROR: The named parameter 'scaleByHeight' isn't defined.

lib/utils/screenutil/screenutil.dart:17:9

   ╷
17 │         scaleByHeight: scaleByHeight);
   │         ^^^^^^^^^^^^^
   ╵

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

INFO: 'VideoPlayerController.network' is deprecated and shouldn't be used. Use VideoPlayerController.networkUrl instead.

lib/widgets/video_box/video_box.dart:67:27

   ╷
67 │     _videoBoxController = VideoPlayerController.network(widget.videoPath);
   │                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/video_box/video_box.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
flutter flutter 0.0.0 0.0.0
flutter_screenutil ^5.7.0 5.9.3 5.9.3
photo_view ^0.14.0 0.14.0 0.15.0
video_player ^2.6.1 2.9.2 2.9.2
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
csslib - 1.0.2 1.0.2
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.5 0.15.5
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
term_glyph - 1.2.1 1.2.1
vector_math - 2.1.4 2.1.4
video_player_android - 2.7.16 2.7.16
video_player_avfoundation - 2.6.4 2.6.4
video_player_platform_interface - 6.2.3 6.2.3
video_player_web - 2.3.3 2.3.3
web - 1.1.0 1.1.0

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

The constraint `^0.14.0` on photo_view does not support the stable version `0.15.0`.

Try running dart pub upgrade --major-versions photo_view 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.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

5
likes
100
pub points
25%
popularity

Publisher

verified publisherxruiy.com

A Flutter plugin toolkit for displaying chat records. Supporting basic content display of images, files, voice, text, and videos.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_screenutil, photo_view, video_player

More

Packages that depend on chat_flutter