async_redux 22.5.0 copy "async_redux: ^22.5.0" to clipboard
async_redux: ^22.5.0 copied to clipboard

Redux state management. An optimized Redux version, which is very easy to learn and use, yet powerful and tailored for Flutter. It allows both sync and async reducers.

155
likes
140/ 160
pub points
8.45k
downloads

We analyzed this package 21 hours ago, and awarded it 140 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

418 out of 757 API elements (55.2 %) have documentation comments.

Some symbols that are missing documentation: async_redux, async_redux.AbortDispatchException.AbortDispatchException.new, async_redux.AbortWhenNoInternet.checkConnectivity, async_redux.ActionObserver, async_redux.ActionObserver.ActionObserver.new.

Passed check 10/10 points: Package has an example

Failed 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

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:async_redux/async_redux.dart that imports:
  • package:async_redux/src/action_mixins.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:async_redux/async_redux.dart that imports:
  • package:async_redux/src/action_mixins.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:async_redux/async_redux.dart that imports:
  • package:async_redux/src/action_mixins.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:async_redux/async_redux.dart that imports:
  • package:async_redux/src/action_mixins.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:async_redux/async_redux.dart that imports:
  • package:async_redux/src/action_mixins.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that imports:
  • package:nm/src/network_manager_client.dart that imports:
  • package:dbus/dbus.dart that imports:
  • package:dbus/src/dbus_value.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/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

Found 194 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/src/action_mixins.dart:70:7

   ╷
70 │       return internetOnOffSimulation! ? ConnectivityResult.wifi : ConnectivityResult.none;
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/src/action_mixins.dart:80:7

   ╷
80 │       throw connectionException(result).withDialog(ifOpenDialog);
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
async_redux_core ^1.2.0 1.4.1 1.4.1
collection ^1.18.0 1.19.1 1.19.1
connectivity_plus ^5.0.2 5.0.2 6.1.4
fast_immutable_collections ^10.1.2 10.2.4 11.0.4
file ^7.0.0 7.0.1 7.0.1
logging ^1.2.0 1.3.0 1.3.0
meta ^1.11.0 1.16.0 1.16.0
path ^1.8.3 1.9.1 1.9.1
path_provider ^2.1.1 2.1.5 2.1.5
weak_map ^3.0.0 3.0.1 4.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
characters - 1.4.0 1.4.0
connectivity_plus_platform_interface - 1.2.4 2.0.1
crypto - 3.0.6 3.0.6
dbus - 0.7.11 0.7.11
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
i18n_extension_core - 5.0.1 5.0.1
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.12.0
nm - 0.5.0 0.5.0
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.1.0 6.1.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
serverpod_serialization - 2.5.1 2.5.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.5
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0
yaml - 3.1.3 3.1.3

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

Found 3 issues. Showing the first 2:

The constraint `^5.0.2` on connectivity_plus does not support the stable version `6.0.0`.

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

The constraint `^10.1.2` on fast_immutable_collections does not support the stable version `11.0.0`.

Try running dart pub upgrade --major-versions fast_immutable_collections 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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
155
likes
140
points
8.45k
downloads

Publisher

verified publisherglasberg.dev

Weekly Downloads

Redux state management. An optimized Redux version, which is very easy to learn and use, yet powerful and tailored for Flutter. It allows both sync and async reducers.

Repository (GitHub)
View/report issues

Topics

#redux #state-management

Documentation

API reference

License

MIT (license)

Dependencies

async_redux_core, collection, connectivity_plus, fast_immutable_collections, file, flutter, logging, meta, path, path_provider, weak_map

More

Packages that depend on async_redux