Skip to content

feat(repo): bump min flutter version to 3.24.5 #3463

feat(repo): bump min flutter version to 3.24.5

feat(repo): bump min flutter version to 3.24.5 #3463

GitHub Actions / Analysis of stream_chat_persistence succeeded Dec 20, 2024 in 1m 53s

Package analysis results for stream_chat_persistence

Score

110/160 points
(68.75%)

Supported platforms

  • Flutter
    • android
    • ios
    • windows
    • linux
    • macos
    • web

Details

Follow Dart file conventions (20/30)

✔ 10/10 points: Provide a valid pubspec.yaml

✔ 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.

Provide documentation (20/20)

✔ 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

Platform support (20/20)

✔ 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.

Pass static analysis (30/50)

❌ 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

Support up-to-date dependencies (20/40)

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

Package Constraint Compatible Latest
drift ^2.18.0 2.22.1 2.22.1
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.28 0.5.28
stream_chat ../stream_chat 8.3.0 8.3.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.4.0
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.7 2.0.7
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 - 2.0.0 2.0.0
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
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.1 1.10.1
sprintf - 7.0.0 7.0.0
sqlite3 - 2.5.0 2.5.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
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.

Versions