Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mvu/README.md
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ The heart of the MVU application are three yellow boxes on the diagram. First, t
### Code structure conventions
Every screen or component consists of `Model` and two main functions `update` and `view`. Optionally it may have `init` function, which creates initial state of a `Model`, and `subscription` function, which is subscribed to the events from the outside world and translates them to the `messages`.
For every screen we have thise files:
For every screen we have these files:
* ##### `state.dart`
`update`, `init` and `subscribe` functions.
* ##### `types.dart` and `types.g.dart` (generated with `built_value`)
@@ -54,4 +54,4 @@ flutter packages pub run build_runner build
or run it in `watch` mode:
```
flutter packages pub run build_runner watch
```
```