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