stream_chat 4.6.0 copy "stream_chat: ^4.6.0" to clipboard
stream_chat: ^4.6.0 copied to clipboard

The official Dart client for Stream Chat, a service for building chat applications.

64
likes
100/ 160
pub points
89%
popularity

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

failed
Follow Dart file conventions
20 / 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/GetStream/stream-chat-flutter/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

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

1314 out of 1447 API elements (90.8 %) have documentation comments.

Some symbols that are missing documentation: stream_chat, stream_chat.AcceptInviteResponse.duration, stream_chat.AddMembersResponse.duration, stream_chat.Attachment.Attachment.fromOGAttachment, stream_chat.Attachment.authorIcon.

10/10 points: Package has an example

OK
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

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional 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 42 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/core/models/attachment_file.freezed.dart:142:17

    ╷
142 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/models/attachment_file.freezed.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/core/models/attachment_file.freezed.dart:301:17

    ╷
301 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/models/attachment_file.freezed.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.5.0 2.12.0 2.12.0
collection ^1.15.0 1.19.1 1.19.1
dio ^4.0.0 4.0.6 5.7.0
equatable ^2.0.0 2.0.5 2.0.5
freezed_annotation ^2.0.3 2.4.4 2.4.4
http_parser ^4.0.0 4.1.1 4.1.1
jose ^0.3.2 0.3.4 0.3.4
json_annotation ^4.5.0 4.9.0 4.9.0
logging ^1.0.1 1.3.0 1.3.0
meta ^1.3.0 1.16.0 1.16.0
mime ^1.0.0 1.0.6 2.0.0
rate_limiter ^0.1.1 0.1.1 1.0.0
rxdart ^0.27.0 0.27.7 0.28.0
uuid ^3.0.4 3.0.7 4.5.1
web_socket_channel ^2.0.0 2.4.5 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
asn1lib - 1.5.8 1.5.8
boolean_selector - 2.1.2 2.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
crypto_keys - 0.3.0+1 0.3.0+1
http - 1.2.2 1.2.2
js - 0.7.1 0.7.1
matcher - 0.12.17 0.12.17
path - 1.9.1 1.9.1
pointycastle - 3.9.1 3.9.1
quiver - 3.2.2 3.2.2
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
web - 0.5.1 1.1.0
x509 - 0.2.4+3 0.2.4+3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 6 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 `^1.0.0` on mime does not support the stable version `2.0.0`.

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

  • UNDEFINED_METHOD - lib/src/client/channel.dart:2389:20 - The method 'cancel' isn't defined for the type 'CompositeSubscription'.
  • UNDEFINED_METHOD - lib/src/client/client.dart:1547:28 - The method 'cancel' isn't defined for the type 'CompositeSubscription'.
  • UNDEFINED_METHOD - lib/src/client/client.dart:1554:26 - The method 'pause' isn't defined for the type 'CompositeSubscription'.

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

Check the analysis log for details.