watch_it 2.4.2 copy "watch_it: ^2.4.2" to clipboard
watch_it: ^2.4.2 copied to clipboard

The simple state management powered by get_it. It allows to observe changes of objects inside the get_it service locator and rebuild the UI accordingly.

150/ 160
pub points
13.3k
downloads

We analyzed this package 43 hours ago, and awarded it 150 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.

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

132 out of 161 API elements (82.0 %) have documentation comments.

Some symbols that are missing documentation: watch_it, watch_it.Disposable.Disposable.new, watch_it.Disposable.onDispose, watch_it.GetIt.allowRegisterMultipleImplementationsOfoneType, watch_it.GetIt.noDebugOutput.

Passed check 10/10 points: Package has an example and has no issues with screenshots

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

WASM-ready: This package is compatible with runtime wasm. See https://dart.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Missing type annotation.

lib/src/watch_it_state.dart:349:3

    ╷
349 │   watchPropertyValue<T extends Listenable, R>({
    │   ^^^^^^^^^^^^^^^^^^
    ╵

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

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
get_it ^9.2.0 9.3.0 9.3.0
listen_it ^5.3.3 5.3.5 6.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
vector_math - 2.4.3 2.4.3

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

The constraint `^5.3.3` on listen_it does not support the stable version `6.0.0`, that was published 20 days ago.

When listen_it is 30 days old, this package will no longer be awarded points in this category.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.6, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
213
likes
150
points
13.3k
downloads
screenshot

Documentation

API reference

Publisher

verified publisherflutter-it.dev

Weekly Downloads

The simple state management powered by get_it. It allows to observe changes of objects inside the get_it service locator and rebuild the UI accordingly.

Repository (GitHub)
View/report issues

Topics

#state-management #dependency-injection #architecture #get-it

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter, get_it, listen_it

More

Packages that depend on watch_it