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
90/ 140
pub points
38%
popularity

We analyzed this package 4 days ago, and awarded it 90 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.

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

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ macOS

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.
Package not compatible with platform Web

Because:

  • package:chat_flutter/chat_flutter.dart that imports:
  • package:chat_flutter/utils/parameter_model_set/parameter_model_set.dart that imports:
  • package:chat_flutter/utils/screenutil/screenutil.dart that imports:
  • package:flutter_screenutil/flutter_screenutil.dart that imports:
  • package:flutter_screenutil/src/size_extension.dart that imports:
  • package:flutter_screenutil/src/screen_util.dart that imports:
  • dart:io
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

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

10/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.0 5.9.0
photo_view ^0.14.0 0.14.0 0.15.0
video_player ^2.6.1 2.8.6 2.8.6
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
csslib - 1.0.0 1.0.0
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.4 0.15.4
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
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.4.14 2.4.14
video_player_avfoundation - 2.5.7 2.5.7
video_player_platform_interface - 6.2.2 6.2.2
video_player_web - 2.3.0 2.3.0
web - 0.5.1 0.5.1

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`, that was published 14 days ago.

When photo_view is 30 days old, this package will no longer be awarded points in this category.

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

5
likes
90
pub points
38%
popularity

Publisher

verified publishertaomo.tech

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