Skip to content

Commit 3f63158

Browse files
committed
Fixing grammar
1 parent 4745875 commit 3f63158

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/basics-in-depth/viewmodels.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ Where the `ViewModel` is just this.
517517
class HomeViewModel extends IndexTrackingViewModel {}
518518
```
519519

520-
Another function it has is `setCurrentWebPageIndex` which sets the current index using current Route on Web Platform. Allows to get the index from url during a browser refresh which means the app starts from scracth. Can be used as follows:
520+
Another function it has is `setCurrentWebPageIndex` which sets the current index using current Route on Web Platform. This function allows you to get the index from the URL during a browser refresh. It can be used as follows:
521521

522522
```dart
523523
class BottomNavExampleViewModel extends IndexTrackingViewModel {
@@ -533,4 +533,4 @@ class BottomNavExampleViewModel extends IndexTrackingViewModel {
533533

534534
## We're ready for the Web 🚀
535535

536-
Master Flutter on the web with the official [Flutter Web Course](https://masterflutterweb.carrd.co/)
536+
Master Flutter on the web with the official [Flutter Web Course](https://masterflutterweb.carrd.co/)

0 commit comments

Comments
 (0)