lightstreamer_flutter_client 2.0.0 copy "lightstreamer_flutter_client: ^2.0.0" to clipboard
lightstreamer_flutter_client: ^2.0.0 copied to clipboard

A Flutter plugin for Lightstreamer.

6
likes
130/ 160
pub points
75%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

552 out of 562 API elements (98.2 %) have documentation comments.

Some symbols that are missing documentation: lightstreamer_client_web.ConnectionDetailsExt, lightstreamer_client_web.ConnectionOptionsExt, lightstreamer_client_web.FirebaseMpnBuilderExt, lightstreamer_client_web.ItemUpdateExt, lightstreamer_client_web.LightstreamerClientExt.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:lightstreamer_flutter_client/lightstreamer_client.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:lightstreamer_flutter_client/lightstreamer_client.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:lightstreamer_flutter_client/lightstreamer_client.dart that declares support for platforms: Android, iOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Android

Because:

  • package:lightstreamer_flutter_client/lightstreamer_client_web.dart that imports:
  • package:js/js_util.dart that imports:
  • dart:js_util
Package not compatible with platform iOS

Because:

  • package:lightstreamer_flutter_client/lightstreamer_client_web.dart that imports:
  • package:js/js_util.dart that imports:
  • dart:js_util
Package not compatible with platform Web

Because:

  • package:lightstreamer_flutter_client/lightstreamer_client.dart that imports:
  • package:lightstreamer_flutter_client/src/apns_mpn_builder.dart that imports:
  • package:lightstreamer_flutter_client/src/client.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:lightstreamer_flutter_client/lightstreamer_client.dart that imports:
  • package:lightstreamer_flutter_client/src/apns_mpn_builder.dart that imports:
  • package:lightstreamer_flutter_client/src/client.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.dev/web/wasm for details.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/lightstreamer_flutter_client/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 22 issues. Showing the first 2:

INFO: The declaration '_asDartObject' isn't referenced.

lib/lightstreamer_client_web.dart:731:22

    ╷
731 │   ClientListener get _asDartObject => this;
    │                      ^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/lightstreamer_client_web.dart

INFO: The declaration '_asDartObject' isn't referenced.

lib/lightstreamer_client_web.dart:739:38

    ╷
739 │   external ClientMessageListener get _asDartObject;
    │                                      ^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/lightstreamer_client_web.dart

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
js ^0.6.7 0.6.7 0.7.1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

The constraint `^0.6.7` on js does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions js to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.