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
44%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

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.

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

293 out of 397 API elements (73.8 %) have documentation comments.

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

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

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

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

Found 81 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
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
any_link_preview ^3.0.0 3.0.2 3.0.2
emoji_picker_flutter ^1.6.0 1.6.4 3.1.0
file_picker ^5.3.2 5.5.0 8.1.3
flutter flutter 0.0.0 0.0.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.5 0.15.5
http any 1.2.2 1.2.2
image_picker any 1.1.2 1.1.2
intl any 0.19.0 0.19.0
progress_indicators ^1.0.0 1.0.0 1.0.0
timeago ^3.4.0 3.7.0 3.7.0
url_launcher ^6.1.7 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
cross_file - 0.3.4+2 0.3.4+2
csslib - 1.0.2 1.0.2
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
file_selector_linux - 0.9.3 0.9.3
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_plugin_android_lifecycle - 2.0.23 2.0.23
flutter_svg - 2.0.14 2.0.14
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.1.1
image_picker_android - 0.8.12+17 0.8.12+17
image_picker_for_web - 3.0.6 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
linkify - 5.0.0 5.0.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.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.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences - 2.3.2 2.3.2
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
string_validator - 1.1.0 1.1.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.0 3.2.0
url_launcher_macos - 3.2.1 3.2.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
vector_graphics - 1.1.14 1.1.14
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.14 1.1.14
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
win32 - 5.8.0 5.8.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 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.

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 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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

20
likes
110
pub points
44%
popularity

Publisher

unverified uploader

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