value_listenable_test 0.0.2 copy "value_listenable_test: ^0.0.2" to clipboard
value_listenable_test: ^0.0.2 copied to clipboard

Assists in testing ValueListenable objects (ex: ValueNotifier).

10
likes
70/ 160
pub points
41
downloads

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

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting value_listenable_test... Discovering libraries... ERR: dartdoc 8.3.3 (/tmp/analyzerZNKAEC/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.7.2.snapshot) failed: fatal error: unable to locate the input directory at '/tmp/analyzerZNKAEC/pub-cache/h[...] #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:215:7) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:202:27) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:80:55) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:204:32) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:292:22)

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:value_listenable_test/value_listenable_test.dart that imports:
  • package:flutter_test/flutter_test.dart that imports:
  • package:flutter_test/src/widget_tester.dart that imports:
  • package:flutter_test/src/test_text_input.dart that imports:
  • package:flutter_test/src/test_text_input_key_handler.dart that imports:
  • package:flutter_test/src/binding.dart that imports:
  • package:flutter_test/src/platform.dart that imports:
  • dart:io

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

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

Found 4 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'package:test_api/src/expect/async_matcher.dart'.

lib/value_listenable_test.dart:9:8

  ╷
9 │ import 'package:test_api/src/expect/async_matcher.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

ERROR: Classes can only extend other classes.

lib/value_listenable_test.dart:82:39

   ╷
82 │ class _ValueListenableMatcher extends AsyncMatcher {
   │                                       ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/value_listenable_test.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
meta >=1.3.0 <2.0.0 1.16.0 1.16.0
test_api >=0.4.3 <1.0.0 0.7.4 0.7.4
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.12.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
fake_async - 1.3.2 1.3.3
leak_tracker - 10.0.8 11.0.1
leak_tracker_flutter_testing - 3.0.9 3.0.10
leak_tracker_testing - 3.0.1 3.0.2
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
vector_math - 2.1.4 2.1.5
vm_service - 14.3.1 15.0.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 2 errors:

  • URI_DOES_NOT_EXIST - lib/value_listenable_test.dart:9:8 - Target of URI doesn't exist: 'package:test_api/src/expect/async_matcher.dart'.
  • EXTENDS_NON_CLASS - lib/value_listenable_test.dart:82:39 - Classes can only extend other classes.

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.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
10
likes
70
points
41
downloads

Publisher

verified publisherflutterando.com.br

Weekly Downloads

Assists in testing ValueListenable objects (ex: ValueNotifier).

Repository (GitHub)

License

MIT (license)

Dependencies

flutter, flutter_test, meta, test_api

More

Packages that depend on value_listenable_test