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.

143
likes
120/ 140
pub points
92%
popularity

We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

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

413 out of 724 API elements (57.0 %) have documentation comments.

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

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

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.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 180 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
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
async_redux_core ^1.2.0 1.2.0 1.2.0
collection ^1.18.0 1.18.0 1.18.0
connectivity_plus ^5.0.2 5.0.2 6.0.3
fast_immutable_collections ^10.1.2 10.2.2 10.2.2
file ^7.0.0 7.0.0 7.0.0
flutter flutter 0.0.0 0.0.0
logging ^1.2.0 1.2.0 1.2.0
meta ^1.11.0 1.11.0 1.14.0
path ^1.8.3 1.9.0 1.9.0
path_provider ^2.1.1 2.1.3 2.1.3
weak_map ^3.0.0 3.0.1 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
characters - 1.3.0 1.3.0
connectivity_plus_platform_interface - 1.2.4 2.0.0
dbus - 0.7.10 0.7.10
ffi - 2.1.2 2.1.2
flutter_web_plugins - 0.0.0 0.0.0
i18n_extension_core - 2.0.6 2.0.6
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.11.1
nm - 0.5.0 0.5.0
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
sprintf - 7.0.0 7.0.0
vector_math - 2.1.4 2.1.4
win32 - 5.4.0 5.4.0
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0

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

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.

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

143
likes
120
pub points
92%
popularity

Publisher

verified publisherglasberg.dev

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