rx_command 6.0.1 copy "rx_command: ^6.0.1" to clipboard
rx_command: ^6.0.1 copied to clipboard

Reactive event handler wrapper class inspired by ReactiveUI.

45
likes
135/ 160
pub points
646
downloads

We analyzed this package 13 hours ago, and awarded it 135 pub points (of a possible 160):

failed
Follow Dart file conventions
25 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:20:33

   ╷
20 │ <p><code>RxCommand</code> is an <a href="http://reactivex.io/"><em>Reactive Extensions</em> (Rx)</a> based abstraction for event handlers. It is based on <code>ReactiveCommand</code> for the <a href="https://reactiveui.net/">ReactiveUI</a> framework. It makes heavy use of the <a href="https://github.com/ReactiveX/rxdart">RxDart</a> package.</p>
   │                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

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

41 out of 87 API elements (47.1 %) have documentation comments.

Some symbols that are missing documentation: rx_command, rx_command.Action, rx_command.Action1, rx_command.AsyncAction, rx_command.AsyncAction1.

10/10 points: Package has an example

OK
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

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: The null check operator shouldn't be used on a variable whose type is a potentially nullable type parameter.

lib/rx_command.dart:971:60

    ╷
971 │         .listen((result) => _resultsSubject.add(result.data!));
    │                                                            ^
    ╵

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

/tmp/pana_AHIAIC/lib/rx_command.dart doesn't match the Dart formatter.

To format your files run: dart format .

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
quiver ^3.0.1 3.2.2 3.2.2
rxdart ^0.27.0 0.27.7 0.28.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
collection - 1.19.1 1.19.1
matcher - 0.12.17 0.12.17
meta - 1.16.0 1.16.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.3 2.1.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4

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

The constraint `^0.27.0` on rxdart does not support the stable version `0.28.0`.

Try running dart pub upgrade --major-versions rxdart 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.17, Dart 3.6.0.

Check the analysis log for details.

45
likes
135
points
646
downloads

Publisher

verified publisherfluttercommunity.dev

Weekly Downloads

Reactive event handler wrapper class inspired by ReactiveUI.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

quiver, rxdart

More

Packages that depend on rx_command