stream_chat_persistence 8.2.0 copy "stream_chat_persistence: ^8.2.0" to clipboard
stream_chat_persistence: ^8.2.0 copied to clipboard

Official Stream Chat Persistence library. Build your own chat experience using Dart and Flutter.

19
likes
110/ 160
pub points
92%
popularity

We analyzed this package 7 days ago, and awarded it 110 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

52 out of 53 API elements (98.1 %) have documentation comments.

Some symbols that are missing documentation: stream_chat_persistence.

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

WARNING: The operand can't be null, so the condition is always 'false'.

lib/src/db/drift_chat_database.g.dart:6793:27

     ╷
6793 │     if ($_item.channelCid == null) return null;
     │                           ^^^^^^^
     ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/db/drift_chat_database.g.dart

WARNING: The '!' will have no effect because the receiver can't be null.

lib/src/db/drift_chat_database.g.dart:6795:47

     ╷
6795 │         .filter((f) => f.cid($_item.channelCid!));
     │                                               ^
     ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/db/drift_chat_database.g.dart

failed
Support up-to-date dependencies
20 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
drift ^2.18.0 2.21.0 2.21.0
flutter flutter 0.0.0 0.0.0
logging ^1.2.0 1.3.0 1.3.0
meta ^1.9.1 1.15.0 1.16.0
path ^1.8.3 1.9.1 1.9.1
path_provider ^2.1.3 2.1.5 2.1.5
sqlite3_flutter_libs ^0.5.24 0.5.26 0.5.26
stream_chat ^8.2.0 8.2.0 8.2.0
Transitive dependencies
Package Constraint Compatible Latest
asn1lib - 1.5.8 1.5.8
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
crypto_keys - 0.3.0+1 0.3.0+1
dio - 5.7.0 5.7.0
dio_web_adapter - 2.0.0 2.0.0
equatable - 2.0.5 2.0.5
ffi - 2.1.3 2.1.3
fixnum - 1.1.1 1.1.1
freezed_annotation - 2.4.4 2.4.4
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
jose - 0.3.4 0.3.4
js - 0.7.1 0.7.1
json_annotation - 4.9.0 4.9.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
mime - 1.0.6 2.0.0
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
quiver - 3.2.2 3.2.2
rate_limiter - 1.0.0 1.0.0
rxdart - 0.28.0 0.28.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqlite3 - 2.4.7 2.4.7
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6
web_socket_channel - 3.0.1 3.0.1
x509 - 0.2.4+3 0.2.4+3
xdg_directories - 1.1.0 1.1.0

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

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 1311 errors:

  • EXTENDS_NON_CLASS - lib/src/db/drift_chat_database.g.dart:6227:13 - Classes can only extend other classes.
  • SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_POSITIONAL - lib/src/db/drift_chat_database.g.dart:6228:35 - No associated positional super constructor parameter.
  • SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_POSITIONAL - lib/src/db/drift_chat_database.g.dart:6228:47 - No associated positional super constructor parameter.

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

Check the analysis log for details.

19
likes
110
pub points
92%
popularity

Publisher

verified publishergetstream.io

Official Stream Chat Persistence library. Build your own chat experience using Dart and Flutter.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

unknown (license)

Dependencies

drift, flutter, logging, meta, path, path_provider, sqlite3_flutter_libs, stream_chat

More

Packages that depend on stream_chat_persistence