Skip to content

Commit

Permalink
fix: typo in update-data.md (#11273)
Browse files Browse the repository at this point in the history
**It fixes typos in the
[docs](https://docs.flutter.dev/cookbook/networking/update-data): Beyond
UI -> Networking & http -> Update data over the internet**
  • Loading branch information
iveloff-developer authored Oct 15, 2024
1 parent 9b68b29 commit 4182478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/cookbook/networking/update-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Future<Album> updateAlbum(String title) async {
Hooray!
Now you've got a function that updates the title of an album.

### 4. Get the data from the internet
### Get the data from the internet

Get the data from internet before you can update it.
For a complete example, see the [Fetch data][] recipe.
Expand Down Expand Up @@ -179,7 +179,7 @@ Ideally, you will use this method to set
`_futureAlbum` during `initState` to fetch
the data from the internet.

## 5. Update the existing title from user input
## 4. Update the existing title from user input

Create a `TextField` to enter a title and a `ElevatedButton`
to update the data on server.
Expand Down

0 comments on commit 4182478

Please sign in to comment.