Skip to content

Commit 2d6fc2b

Browse files
committed
♻️ Missing variable name update
1 parent 2028c34 commit 2d6fc2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/lib/ui/views/with_stacked_hook/with_stacked_hook_view.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ class _HookForm extends StackedHookView<WithStackedHookViewModel> {
3838
return Column(
3939
mainAxisSize: MainAxisSize.min,
4040
children: <Widget>[
41-
Text('Title: ${model.title}'),
42-
TextField(controller: title, onChanged: model.updateTitle)
41+
Text('Title: ${viewModel.title}'),
42+
TextField(controller: title, onChanged: viewModel.updateTitle)
4343
],
4444
);
4545
}

0 commit comments

Comments
 (0)