context_plus 1.0.4 copy "context_plus: ^1.0.4" to clipboard
context_plus: ^1.0.4 copied to clipboard

Convenient value propagation and observing for Flutter

18
likes
90/ 160
pub points
92%
popularity

We analyzed this package 24 hours ago, and awarded it 90 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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

40 out of 72 API elements (55.6 %) have documentation comments.

Some symbols that are missing documentation: context_plus, context_plus.AnimationControllerRefAPI, context_plus.ContextPlus, context_plus.ContextRef, context_plus.ContextRef.ContextRef.

10/10 points: Package has an example

failed
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

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

ERROR: The method 'ContextRefExt' isn't defined for the type 'Ref'.

lib/src/context_ref_watch_integration.dart:10:12

   ╷
10 │     return ContextRefExt(this).of(context);
   │            ^^^^^^^^^^^^^
   ╵

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

WARNING: The library 'package:context_ref/context_ref.dart' doesn't export a member with the hidden name 'ContextRefExt'.

lib/context_plus.dart:6:52

  ╷
6 │ export 'package:context_ref/context_ref.dart' hide ContextRefExt;
  │                                                    ^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/context_plus.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
context_ref ^1.0.3 1.4.3 1.4.3
context_watch ^2.0.4 2.0.4 5.1.2
flutter flutter 0.0.0 0.0.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
context_watch_base - 2.0.2 6.0.2
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.15.0
rxdart - 0.27.7 0.28.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 `^2.0.4` on context_watch does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions context_watch 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.12, Flutter 3.24.2, Dart 3.5.2.

Check the analysis log for details.