spect8_client 1.0.2
spect8_client: ^1.0.2 copied to clipboard
Official client for Spect8 chat services.Spect8-chat SDK for Flutter, adds an awesome expansion to Flutter's cross-platform applications.
We analyzed this package 12 days ago, and awarded it 100 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
.
0/10 points: 20% or more of the public API has dartdoc comments
130 out of 818 API elements (15.9 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: spect8_client.ActionType
, spect8_client.ActiveUser
, spect8_client.ActiveUser.ActiveUser.fromJson
, spect8_client.ActiveUser.ActiveUser.new
, spect8_client.ActiveUser.displayName
.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:spect8_client/spect8_client.dart
that imports:package:spect8_client/src/spect8_client_base.dart
that imports:package:spect8_client/src/utils/services.dart
that imports:package:spect8_client/src/client/websockets/user_web_socket.dart
that imports:package:web_socket_channel/io.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:spect8_client/spect8_client.dart
that imports:package:spect8_client/src/spect8_client_base.dart
that imports:package:spect8_client/src/utils/services.dart
that imports:package:spect8_client/src/client/websockets/user_web_socket.dart
that imports:package:web_socket_channel/io.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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 54 issues. Showing the first 2:
WARNING: Duplicate export.
lib/spect8_client.dart:14:8
╷
14 │ export 'src/client/managers/current_user_manager.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/spect8_client.dart
WARNING: Duplicate export.
lib/spect8_client.dart:19:8
╷
19 │ export 'src/client/managers/shop_category_manager.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/spect8_client.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
dio |
^4.0.0 |
4.0.6 | 5.9.0 | |
equatable |
^2.0.2 |
2.0.7 | 2.0.7 | |
get_it |
^7.2.0 |
7.7.0 | 8.2.0 | |
http |
^0.13.3 |
0.13.6 | 1.5.0 | |
meta |
^1.3.0 |
1.17.0 | 1.17.0 | |
web_socket_channel |
^2.1.0 |
2.4.5 | 3.0.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 0.5.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `^4.0.0` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio
to update the constraint.
The constraint `^7.2.0` on get_it does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions get_it
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 5 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE
-lib/src/client/provider/http_client.dart:21:26
- The argument type 'AuthInterceptor' can't be assigned to the parameter type 'Interceptor'.EXTENDS_NON_CLASS
-lib/src/client/provider/http_client.dart:28:31
- Classes can only extend other classes.UNDEFINED_SUPER_MEMBER
-lib/src/client/provider/http_client.dart:43:20
- The method 'onRequest' isn't defined in a superclass of 'AuthInterceptor'.
Run dart pub downgrade
and then dart 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.23
, Dart 3.9.3
.
Check the analysis log for details.