chatview2 0.1.5 copy "chatview2: ^0.1.5" to clipboard
chatview2: ^0.1.5 copied to clipboard

A Flutter package that allows you to integrate Chat View with highly customization options.

20
likes
110/ 160
pub points
78
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/Pranavmaid/chatview2/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

293 out of 398 API elements (73.6 %) have documentation comments.

Some symbols that are missing documentation: chatview2, chatview2.ChatBackgroundConfiguration, chatview2.ChatBackgroundConfiguration.ChatBackgroundConfiguration.new, chatview2.ChatBubble, chatview2.ChatBubble.ChatBubble.new.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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:chatview2/chatview2.dart that imports:
  • package:chatview2/src/widgets/chat_view.dart that imports:
  • package:chatview2/src/widgets/send_message_widget.dart that imports:
  • package:chatview2/src/widgets/chatui_textfield.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:chatview2/chatview2.dart that imports:
  • package:chatview2/src/widgets/chat_view.dart that imports:
  • package:chatview2/src/widgets/send_message_widget.dart that imports:
  • package:chatview2/src/widgets/chatui_textfield.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:chatview2/chatview2.dart that imports:
  • package:chatview2/src/widgets/chat_view.dart that imports:
  • package:chatview2/src/widgets/send_message_widget.dart that imports:
  • package:chatview2/src/widgets/chatui_textfield.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:chatview2/chatview2.dart that imports:
  • package:chatview2/src/widgets/chat_view.dart that imports:
  • package:chatview2/src/widgets/send_message_widget.dart that imports:
  • package:chatview2/src/widgets/chatui_textfield.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package not compatible with platform Web

Because:

  • package:chatview2/chatview2.dart that imports:
  • package:chatview2/src/widgets/chat_view_appbar.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:chatview2/chatview2.dart that imports:
  • package:chatview2/src/widgets/chat_view_appbar.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 report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 59 issues. Showing the first 2:

WARNING: This API is available since SDK 2.15.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.

lib/src/models/message.dart:125:26

    ╷
125 │         'status': status.name
    │                          ^^^^
    ╵

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

WARNING: Unused import: 'dart:io'.

lib/src/widgets/chatui_textfield.dart:24:8

   ╷
24 │ import 'dart:io' if (kIsWeb) 'dart:html';
   │        ^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
any_link_preview ^3.0.0 3.0.3 3.0.3
emoji_picker_flutter ^1.6.0 1.6.4 4.3.0
file_picker ^5.3.2 5.5.0 10.2.0
flutter_linkify ^6.0.0 6.0.0 6.0.0
grouped_list ^5.1.2 5.1.2 6.0.0
html any 0.15.6 0.15.6
http any 1.4.0 1.4.0
image_picker any 1.1.2 1.1.2
intl any 0.20.2 0.20.2
progress_indicators ^1.0.0 1.0.0 1.0.0
timeago ^3.4.0 3.7.1 3.7.1
url_launcher ^6.1.7 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
cross_file - 0.3.4+2 0.3.4+2
csslib - 1.0.2 1.0.2
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
file_selector_linux - 0.9.3+2 0.9.3+2
file_selector_macos - 0.9.4+3 0.9.4+3
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+4 0.9.3+4
flutter_plugin_android_lifecycle - 2.0.28 2.0.28
flutter_svg - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.12+23 0.8.12+23
image_picker_for_web - 3.0.6 3.0.6
image_picker_ios - 0.8.12+2 0.8.12+2
image_picker_linux - 0.2.1+2 0.2.1+2
image_picker_macos - 0.2.1+2 0.2.1+2
image_picker_platform_interface - 2.10.1 2.10.1
image_picker_windows - 0.2.1+1 0.2.1+1
linkify - 5.0.0 5.0.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
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.1.0 7.0.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences - 2.5.3 2.5.3
shared_preferences_android - 2.4.10 2.4.10
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.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
string_validator - 1.2.0 1.2.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.16 6.3.16
url_launcher_ios - 6.3.3 6.3.3
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
vector_graphics - 1.1.19 1.1.19
vector_graphics_codec - 1.1.13 1.1.13
vector_graphics_compiler - 1.1.17 1.1.17
vector_math - 2.1.4 2.2.0
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.6.0

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

Found 3 issues. Showing the first 2:

The constraint `^1.6.0` on emoji_picker_flutter does not support the stable version `2.0.0`.

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

The constraint `^5.3.2` on file_picker does not support the stable version `6.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_CLASS - lib/src/widgets/chatui_textfield.dart:303:13 - Undefined class 'XFile'.
  • UNDEFINED_METHOD - lib/src/widgets/chatui_textfield.dart:303:47 - The method 'pickImage' isn't defined for the type 'ImagePicker'.

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.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
20
likes
110
points
78
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that allows you to integrate Chat View with highly customization options.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

any_link_preview, emoji_picker_flutter, file_picker, flutter, flutter_linkify, grouped_list, html, http, image_picker, intl, progress_indicators, timeago, url_launcher

More

Packages that depend on chatview2