A port of Redux to Dart, including Redux Thunk. API and conventions are preserved as much as possible and only changed to idiomatic Dart. This is work in progress and might introduce backward incompatible changes, though it is avoided.
Features and bugs #
Please file feature requests and bugs at the issue tracker.
- Initial version, created by Stagehand
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: greencat: ^0.2.0
2. Install it
You can install packages from the command line:
$ pub get
$ flutter pub get
Alternatively, your editor might support
pub get or
flutter pub get.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Jul 2, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.8.4
- pana: 0.13.9+1
lib/src/store.dart. (-1.49 points)
lib/src/store.dart reported 3 hints:
line 36 col 52: Use
= to separate a named parameter from its default value.
line 39 col 23: Unnecessary new keyword.
line 78 col 18: Unnecessary new keyword.
lib/src/reducer_base.dart. (-1 points)
lib/src/reducer_base.dart reported 2 hints:
line 14 col 7: Unnecessary new keyword.
line 28 col 12: Unnecessary new keyword.
Package is getting outdated. (-49.32 points)
The package was last published 77 weeks ago.
Maintain an example.
None of the files in the package's
example/ directory matches known example patterns.
Common filename patterns include
greencat.dart. Packages with multiple examples should provide
For more information see the pub package layout conventions.