You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2022. It is now read-only.
In the Cupertino App Tutorial Step 5, outdated code is still shown. See runApp: model: model should be changed to builder: (context) => AppStateModel()..loadProducts(),
Following the outdated tutorial, I wasn't sure where to call loadProducts() safely.
Luckily this repo is always updated. Found it by looking at the repo, but it may trip up other people following the tutorial as it will;
Not show any error
Product Tab List just shows nothing
There was no hint that we need to load products first.
Solution: Update Tutorial Text & Add the "Get the full content on GitHub: lib/model/main.dart." link so people get directed to latest code incase it becomes outdated again.
Thanks!
The text was updated successfully, but these errors were encountered:
In the Cupertino App Tutorial Step 5, outdated code is still shown.
See runApp: model: model should be changed to
builder: (context) => AppStateModel()..loadProducts(),
Following the outdated tutorial, I wasn't sure where to call loadProducts() safely.
Luckily this repo is always updated. Found it by looking at the repo, but it may trip up other people following the tutorial as it will;
There was no hint that we need to load products first.
Solution: Update Tutorial Text & Add the "Get the full content on GitHub: lib/model/main.dart." link so people get directed to latest code incase it becomes outdated again.
Thanks!
The text was updated successfully, but these errors were encountered: