Skip to main content

flutter_nop 4.0.0 copy "flutter_nop: ^4.0.0" to clipboard
flutter_nop: ^4.0.0 copied to clipboard

state manager, dependencies manager

80/ 160
pub points
532
downloads

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

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

Failed check 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 50 to 180 characters to describe the package, what it does, and its target use case.

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
10 / 20trigger folding of the section

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

116 out of 476 API elements (24.4 %) have documentation comments.

Some symbols that are missing documentation: change_notifier, flutter_nop, flutter_nop.AutoListenAddRemove, flutter_nop.AutoListenAddRemove.autoDispose, flutter_nop.AutoListenAddRemove.autoListen.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Partially passed report section
Platform support
10 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:flutter_nop/flutter_nop.dart that imports:
  • package:flutter_nop/src/dependence/nop_listener.dart that imports:
  • package:flutter_nop/src/dependence/dependence_mixin.dart that imports:
  • package:nop/utils.dart that imports:
  • package:nop/src/utils/pretty_ext.dart that imports:
  • package:nop/nop.dart that imports:
  • package:nop/isolate_event.dart that imports:
  • package:nop/src/isolate_event/sender_single.dart that imports:
  • package:nop/src/isolate_event/send_future_stream_mixin.dart that imports:
  • package:nop/src/isolate_event/message.dart that imports:
  • package:nop/src/isolate_event/sender_platform/sender.dart that imports:
  • package:nop/src/isolate_event/sender_platform/sender_io.dart that imports:
  • dart:isolate

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. 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 12 issues. Showing the first 2:

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AutoListenChangeNotifierMixin._disposed

lib/src/change_notifier/change_auto_listen.dart:106:7

    ╷
106 │ class AutoListenWrapper<T, P extends ValueNotifier<T>>
    │       ^^^^^^^^^^^^^^^^^
    ╵

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

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AutoListenChangeNotifierMixin._disposed

lib/src/change_notifier/change_auto_listen.dart:128:7

    ╷
128 │ class AutoListenDelegate<T, P extends ValueListenable<T>>
    │       ^^^^^^^^^^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
collection >=1.15.0 <2.0.0 1.19.1 1.19.1
equatable >=2.0.3 <3.0.0 2.1.0 3.0.0
nop >=0.2.0+3 0.3.0 0.3.0
web any 1.1.2 1.1.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
file - 7.0.1 7.0.1
listen - 1.0.1 1.0.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
vector_math - 2.4.4 2.4.4

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

The constraint `>=2.0.3 <3.0.0` on equatable does not support the stable version `3.0.0`.

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

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 1 error:

  • CLASS_USED_AS_MIXIN_DECLARES_GENERATIVE_CONSTRUCTOR - lib/src/change_notifier/change_auto_listen.dart:133:9 - The class 'Equatable' can't be used as a mixin because it declares a generative constructor.

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.19, Flutter 3.50.0, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
80
points
532
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

state manager, dependencies manager

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, equatable, flutter, nop, web

More

Packages that depend on flutter_nop