ruut_flutter 0.0.2+patch ruut_flutter: ^0.0.2+patch 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.
We analyzed this package 5 hours ago, and awarded it 100 pub points (of a possible 160):
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.
- contains
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
.
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
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
Package not compatible with runtime wasm
Because:
package:ruut_flutter/ruut_flutter.dart
that imports:package:ruut_flutter/ruut_client.dart
that imports:package:ruut_flutter/data/local/local_storage.dart
that imports:package:ruut_flutter/data/local/entity/ruut_user.dart
that imports:package:hive_flutter/hive_flutter.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 41 issues. Showing the first 2:
WARNING: This default clause is covered by the previous cases.
lib/data/remote/responses/ruut_event.dart:229:5
╷
229 │ default:
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/data/remote/responses/ruut_event.dart
WARNING: The declaration '_getImagePath' isn't referenced.
lib/ruut_client.dart:69:18
╷
69 │ Future<String> _getImagePath(String path) async {
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/ruut_client.dart
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.4 |
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.15 |
1.6.15 | 1.6.15 |
flutter_inappwebview |
any |
6.1.5 | 6.1.5 |
flutter_secure_storage |
^9.1.1 |
9.2.4 | 9.2.4 |
flutter_svg |
^2.0.13 |
2.0.17 | 2.0.17 |
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.2 | 4.1.2 |
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.4 | 2.1.4 |
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 |
^3.0.1 |
3.0.1 | 3.0.1 |
Transitive dependencies
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.
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.1
, Dart 3.6.0
.
Check the analysis log for details.