Skip to content

Commit

Permalink
Updated incorrect file name in documentation (#11566)
Browse files Browse the repository at this point in the history
In the
last code snippet of page `App Architecture -> Architecture case study
-> UI layer` document, the last code snippet's current title is
`home_viewmodel.dart` which should be `home_screen.dart`. Here's a link
to the document- [UI layer |
Flutter](https://docs.flutter.dev/app-architecture/case-study/ui-layer).
  • Loading branch information
AmanKhatri-ai authored Jan 6, 2025
1 parent b868a66 commit 80485b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/app-architecture/case-study/ui-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ the view wants to render. This gets at *why* the Compass app uses `Commands`.
In the view's `Widget.build` method,
the command is used to conditionally render different widgets.

```dart title=home_viewmodel.dart
```dart title=home_screen.dart
// ...
child: ListenableBuilder(
listenable: [!viewModel.load!],
Expand Down

0 comments on commit 80485b2

Please sign in to comment.