pylon 3.2.0 copy "pylon: ^3.2.0" to clipboard
pylon: ^3.2.0 copied to clipboard

Anchor data in your widget tree & obtain them more reliably than provider.

120/ 160
pub points
238
downloads

We analyzed this package 15 days ago, and awarded it 120 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: GPL-3.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

100 out of 108 API elements (92.6 %) have documentation comments.

Some symbols that are missing documentation: pylon, pylon.Conduit.builder, pylon.Conduit.defaultData, pylon.MutablePylonState.MutablePylonState.new, pylon.PylonCodec.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 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 report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

WARNING: This 'onError' handler must return a value assignable to 'T?', but ends without returning a value.

lib/src/port.dart:123:48

    ╷
123 │     this.value = this.value.catchError((e, ex) {
    │                                                ^
    ╵

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/pylon.dart:7:34

  ╷
7 │ /// This widget creates a [Pylon]<T?> with a null value, effectively removing or overriding
  │                                  ^^^^
  ╵

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

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

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

Package Constraint Compatible Latest Notes
pylon_codec >=1.0.0 <2.0.0 1.0.0 1.0.0
rxdart >=0.26.0 0.28.0 0.28.0
toxic >=1.3.1 <1.4.0 1.3.8 1.3.8
toxic_flutter >=1.0.1 <2.0.0 1.1.0 1.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
intl - 0.20.2 0.20.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
vector_math - 2.2.0 2.2.0

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • UNDEFINED_GETTER - lib/src/conduit.dart:38:30 - The getter 'valueOrNull' isn't defined for the type 'BehaviorSubject
  • RETURN_OF_INVALID_TYPE - lib/src/conduit.dart:53:25 - A value of type 'T?' can't be returned from the method 'pull' because it has a return type of 'T'.
  • UNDEFINED_GETTER - lib/src/conduit.dart:57:43 - The getter 'valueOrNull' isn't defined for the type 'BehaviorSubject

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.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
120
points
238
downloads

Publisher

verified publisherarcane.art

Weekly Downloads

Anchor data in your widget tree & obtain them more reliably than provider.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter, pylon_codec, rxdart, toxic, toxic_flutter

More

Packages that depend on pylon