Skip to content

Commit c7b6244

Browse files
blueneogeogitbook-bot
authored andcommitted
GitBook: [master] 2 pages modified
1 parent 788088e commit c7b6244

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

get-started/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Instead of having the counter state in the widgets, it is kept in the applicatio
2020

2121
![](../.gitbook/assets/screen-shot-2018-12-03-at-12.18.00-am.png)
2222

23-
An example of how you can build a simple todo app using flutter-view and the [flutter-view-tools library](https://pub.dartlang.org/packages/flutter_view_tools). It separates the app model from the page model. This is a structure that can scale as your app grows and you add more pages.
23+
An example of how you can build a simple todo app using flutter-view and the [flutter-view-tools library](https://pub.dartlang.org/packages/flutter_view_tools). It separates the app model from the page model. This is a structure that can scale as your app grows and you add more pages. The [Writing Reactive code](../guide/writing-reactive-code.md) chapter builds this app step by step.
2424

2525

2626

reference/tag-shortcuts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Example:
162162
{% tab title="Pug" %}
163163
```c
164164
example(flutter-view :model[MyModel])
165-
lifecycle(:on-dispose='model.onDisposed()')
165+
lifecycle(:on-dispose='model.onDisposed')
166166
| ${model.message}!
167167
```
168168
{% endtab %}
@@ -185,7 +185,7 @@ class MyModel extends Model {
185185
```dart
186186
Lifecycle Example({ @required model }) {
187187
return Lifecycle( // project://lib/pages/homepage/homepage.pug#21,2
188-
onDispose: model.onDispose(),
188+
onDispose: model.onDisposed,
189189
child: Text(
190190
'${model.message}',
191191
),

0 commit comments

Comments
 (0)