Skip to content

Commit 15e1c40

Browse files
committed
Closes #1 - Document more complex example
1 parent f883c9e commit 15e1c40

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ This package is built to work with [Redux.dart](https://pub.dartlang.org/package
1111
* `StoreProvider` - The base Widget. It will pass the given Redux Store to all descendants that request it.
1212
* `StoreBuilder` - A descendant Widget that gets the Store from a `StoreProvider` and passes it to a Widget `builder` function.
1313
* `StoreConnector` - A descendant Widget that gets the Store from the nearest `StoreProvider` ancestor, converts the `Store` into a `ViewModel` with the given `converter` function, and passes the `ViewModel` to a `builder` function. Any time the Store emits a change event, the Widget will automatically be rebuilt. No need to manage subscriptions!
14+
15+
## Examples
1416

17+
* [Simple example](https://gitlab.com/brianegan/flutter_redux/tree/master/example) - a port of the standard "Counter Button" example from Flutter
18+
* [Todo app](https://gitlab.com/brianegan/flutter_architecture_samples/tree/master/example/redux) - a more complete example, with persistence, routing, and nested state.
19+
1520
## Usage
1621

1722
Let's demo the basic usage with the all-time favorite: A counter example!

0 commit comments

Comments
 (0)