From 418247859bb4b5b42c71e95403941b80d5d5a109 Mon Sep 17 00:00:00 2001 From: Illia Velichko <42904790+iveloff-developer@users.noreply.github.com> Date: Tue, 15 Oct 2024 04:34:23 +0300 Subject: [PATCH] fix: typo in update-data.md (#11273) **It fixes typos in the [docs](https://docs.flutter.dev/cookbook/networking/update-data): Beyond UI -> Networking & http -> Update data over the internet** --- src/content/cookbook/networking/update-data.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/cookbook/networking/update-data.md b/src/content/cookbook/networking/update-data.md index 2f209f3ae8..7e8c591307 100644 --- a/src/content/cookbook/networking/update-data.md +++ b/src/content/cookbook/networking/update-data.md @@ -151,7 +151,7 @@ Future 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. @@ -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.