greencat 0.2.0

  • Readme
  • Changelog
  • Installing
  • 39

greencat #

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.

Usage #

Examples of usage are provided with AngularDart 2, Flutter and Butterfly.

Features and bugs #

Please file feature requests and bugs at the issue tracker.

Changelog #

0.0.1 #

  • Initial version, created by Stagehand

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  greencat: ^0.2.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ 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:

import 'package:greencat/greencat.dart';
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]
Learn more about scoring.

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

Health suggestions

Fix lib/src/store.dart. (-1.49 points)

Analysis of 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.

Fix lib/src/reducer_base.dart. (-1 points)

Analysis of lib/src/reducer_base.dart reported 2 hints:

line 14 col 7: Unnecessary new keyword.

line 28 col 12: Unnecessary new keyword.

Maintenance suggestions

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 main.dart, example.dart, and greencat.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
logging >=0.11.3 <0.12.0 0.11.4
tuple >=1.0.1 <2.0.0 1.0.3
Transitive dependencies
matcher 0.12.8
meta 1.1.8 1.2.0
path 1.7.0
quiver 2.1.3
stack_trace 1.9.5
Dev dependencies
test >=1.5.1 <2.0.0