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

The official Flutter SDK for Ruut Chat,this SDK provides developers with a seamless way to integrate the Ruut chat widget into their Flutter applications.

0
likes
70/ 160
pub points
48
downloads

We analyzed this package 43 hours ago, and awarded it 70 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

Repository URL doesn't exist.

At the time of the analysis https://github.com/RuutChatCSM/Ruut-SDK was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/RuutChatCSM/Ruut-SDK/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: ruut_flutter,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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

274 out of 625 API elements (43.8 %) have documentation comments.

Some symbols that are missing documentation: color_utils, color_utils.ColorUtils, color_utils.ColorUtils.ColorUtils, color_utils.ColorUtils.darken, constants.

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

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:ruut_flutter/ruut_flutter.dart that imports:
  • package:ruut_flutter/ui/ruut_chat_view.dart that imports:
  • package:file_picker/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 `Web`.

Because:

  • package:ruut_flutter/ruut_flutter.dart that imports:
  • package:ruut_flutter/ruut_client.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:ruut_flutter/ruut_flutter.dart that imports:
  • package:ruut_flutter/ui/ruut_chat_view.dart that imports:
  • package:file_picker/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:ruut_flutter/ruut_flutter.dart that imports:
  • package:ruut_flutter/ui/ruut_chat_view.dart that imports:
  • package:file_picker/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:ruut_flutter/ruut_flutter.dart that imports:
  • package:ruut_flutter/ui/ruut_chat_view.dart that imports:
  • package:file_picker/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.

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

ERROR: The named parameter 'and' is required, but there's no corresponding argument.

lib/ui/ruut_l10n.dart:45:9

   ╷
45 │         : super(
   │ ┌─────────^
46 │ │             attachmentButtonAccessibilityLabel:
47 │ │                 attachmentButtonAccessibilityLabel,
48 │ │             emptyChatPlaceholder: emptyChatPlaceholder,
49 │ │             fileButtonAccessibilityLabel: fileButtonAccessibilityLabel,
50 │ │             inputPlaceholder: inputPlaceholder,
51 │ │             sendButtonAccessibilityLabel: sendButtonAccessibilityLabel,
52 │ │             unreadMessagesLabel: unreadMessagesLabel);
   │ └─────────────────────────────────────────────────────^
   ╵

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

ERROR: The named parameter 'isTyping' is required, but there's no corresponding argument.

lib/ui/ruut_l10n.dart:45:9

   ╷
45 │         : super(
   │ ┌─────────^
46 │ │             attachmentButtonAccessibilityLabel:
47 │ │                 attachmentButtonAccessibilityLabel,
48 │ │             emptyChatPlaceholder: emptyChatPlaceholder,
49 │ │             fileButtonAccessibilityLabel: fileButtonAccessibilityLabel,
50 │ │             inputPlaceholder: inputPlaceholder,
51 │ │             sendButtonAccessibilityLabel: sendButtonAccessibilityLabel,
52 │ │             unreadMessagesLabel: unreadMessagesLabel);
   │ └─────────────────────────────────────────────────────^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/ui/ruut_l10n.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
async ^2.11.0 2.12.0 2.12.0
dio ^5.4.3+1 5.7.0 5.7.0
equatable ^2.0.5 2.0.7 2.0.7
file_picker ^8.1.3 8.1.7 8.1.7
flutter flutter 0.0.0 0.0.0
flutter_chat_types ^3.6.2 3.6.2 3.6.2
flutter_chat_ui ^1.6.10 1.6.15 1.6.15
flutter_inappwebview any 6.1.5 6.1.5
flutter_secure_storage ^9.1.1 9.2.2 9.2.2
flutter_svg ^2.0.13 2.0.16 2.0.16
hive ^2.2.3 2.2.3 2.2.3
hive_flutter ^1.1.0 1.1.0 1.1.0
http_parser any 4.1.1 4.1.1
image_picker any 1.1.2 1.1.2
intl ^0.19.0 0.19.0 0.20.1
json_annotation ^4.9.0 4.9.0 4.9.0
path_provider ^2.1.3 2.1.5 2.1.5
riverpod ^2.5.1 2.6.1 2.6.1
stream_channel ^2.1.2 2.1.3 2.1.3
synchronized ^3.1.0+1 3.3.0+3 3.3.0+3
url_launcher ^6.2.6 6.3.1 6.3.1
uuid ^4.4.0 4.5.1 4.5.1
web_socket_channel ^2.3.0 2.4.0 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
diffutil_dart - 4.0.1 4.0.1
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
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
fixnum - 1.1.1 1.1.1
flutter_inappwebview_android - 1.1.3 1.1.3
flutter_inappwebview_internal_annotations - 1.2.0 1.2.0
flutter_inappwebview_ios - 1.1.2 1.1.2
flutter_inappwebview_macos - 1.1.2 1.1.2
flutter_inappwebview_platform_interface - 1.3.0+1 1.3.0+1
flutter_inappwebview_web - 1.1.2 1.1.2
flutter_inappwebview_windows - 0.6.0 0.6.0
flutter_link_previewer - 3.2.2 3.2.2
flutter_linkify - 6.0.0 6.0.0
flutter_parsed_text - 2.2.1 2.2.1
flutter_plugin_android_lifecycle - 2.0.24 2.0.24
flutter_secure_storage_linux - 1.2.1 1.2.1
flutter_secure_storage_macos - 3.1.2 3.1.2
flutter_secure_storage_platform_interface - 1.1.2 1.1.2
flutter_secure_storage_web - 1.2.1 1.2.1
flutter_secure_storage_windows - 3.1.2 3.1.2
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.5 0.15.5
http - 1.2.2 1.2.2
image_picker_android - 0.8.12+19 0.8.12+19
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
js - 0.6.7 0.7.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_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
petitparser - 6.0.2 6.0.2
photo_view - 0.15.0 0.15.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
scroll_to_index - 3.0.1 3.0.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
state_notifier - 1.0.0 1.0.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
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.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
vector_graphics - 1.1.15 1.1.15
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.16 1.1.16
vector_math - 2.1.4 2.1.4
visibility_detector - 0.4.0+2 0.4.0+2
web - 1.1.0 1.1.0
win32 - 5.9.0 5.9.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.

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.

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

The constraint `^2.3.0` on web_socket_channel does not support the stable version `3.0.0`.

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

  • UNDEFINED_METHOD - lib/ui/ruut_chat_view.dart:527:40 - The method 'pickImage' isn't defined for the type 'ImagePicker'.
  • UNDEFINED_CLASS - lib/ui/webview_widget/webview.dart:26:3 - Undefined class 'InAppWebViewSettings'.
  • UNDEFINED_METHOD - lib/ui/webview_widget/webview.dart:26:35 - The method 'InAppWebViewSettings' isn't defined for the type '_WebViewPageState'.

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.

0
likes
70
points
48
downloads

Publisher

unverified uploader

Weekly Downloads

The official Flutter SDK for Ruut Chat,this SDK provides developers with a seamless way to integrate the Ruut chat widget into their Flutter applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async, dio, equatable, file_picker, flutter, flutter_chat_types, flutter_chat_ui, flutter_inappwebview, flutter_secure_storage, flutter_svg, hive, hive_flutter, http_parser, image_picker, intl, json_annotation, path_provider, riverpod, stream_channel, synchronized, url_launcher, uuid, web_socket_channel

More

Packages that depend on ruut_flutter