How to Communicate with REST APIs in Flutter
Автор: The Flutter Factory
Загружено: 2021-01-05
Просмотров: 17038
Описание:
NOTE: I have changed the name from Cheetah Coding to the Flutter Factory
Almost every app in existence needs to access data from the internet in some capacity. One of the most common ways to consume data online is with REST APIs. This video will show you how easy it is add, create, update, and delete data from a backend source with an easy networking library in Flutter called Dio.
00:00 - Intro
00:35 - Initial app structure
1:34 - Initial Code Walkthrough
6:00 - Configuring Dio with Interceptors
15:38 - API/REST interface
21:53 - Repository layer
25:35 - Mapping API JSON data to Models
29:05 - Finishing the Repository layer
36:30 - Connecting the State controller
37:40 - Fetching all items
38:37 - Finishing the state controller
49:10 - Fixing a common Dio related mistake
51:01 - Setting list data from API
52:42 - Posting new items
55:45 - Deleting items
57:12 - Updating items
1:03:53 - Final Testing
💻Follow along here with the initial code: https://github.com/theflutterfactory/...
⚡Connect on Facebook: / flutterfactory
⚡Connect on Twitter: / flutterfactory
🎷Music: https://www.bensound.com/royalty-free...
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: