Этот материал находится в платной подписке. Оформи премиум подписку и смотри или слушай Flutter REST API Crash Course: Build a Coronavirus App, а также все другие курсы, прямо сейчас!
Премиум
  1. Урок 1. 00:03:25
    RESTful APIs: The Basics
  2. Урок 2. 00:04:52
    The nCoV 2019 Coronavirus API: Setup instructions, API Keys and Access Tokens
  3. Урок 3. 00:05:11
    REST Client for VS Code: Initial setup & sending requests
  4. Урок 4. 00:04:29
    Using Environment Variables and excluding sensitive data with .gitignore
  5. Урок 5. 00:04:26
    REST Client: Adding the remaining requests
  6. Урок 6. 00:02:49
    App Architecture Overview
  7. Урок 7. 00:01:15
    Installing the http package
  8. Урок 8. 00:02:38
    Saving the API key + GitHub source code + the Error Lens extension
  9. Урок 9. 00:03:33
    The API class
  10. Урок 10. 00:04:05
    The APIService class: requesting an access token
  11. Урок 11. 00:02:48
    Parsing the http response and retrieving the access token
  12. Урок 12. 00:03:15
    Using the API Service to show the access token
  13. Урок 13. 00:03:01
    Adding the remaining endpoints to the API class
  14. Урок 14. 00:05:22
    Requesting and parsing data from the remaining endpoints
  15. Урок 15. 00:03:52
    Using the APIService class to show endpoint data
  16. Урок 16. 00:02:20
    Recap on the APIService class
  17. Урок 17. 00:02:45
    The Data Repository
  18. Урок 18. 00:02:51
    Loading and refreshing the access token when needed
  19. Урок 19. 00:02:59
    Adding a Provider for the DataRepository
  20. Урок 20. 00:03:48
    Creating a basic dashboard UI
  21. Урок 21. 00:04:02
    Creating a custom card widget to show endpoint data
  22. Урок 22. 00:02:29
    Loading the initial endpoint data from the API
  23. Урок 23. 00:02:26
    Adding a refresh indicator
  24. Урок 24. 00:02:45
    Loading data from multiple endpoints with Future.wait
  25. Урок 25. 00:02:20
    The EndpointsData class
  26. Урок 26. 00:04:21
    Improving the DataRepository class with generics and function arguments
  27. Урок 27. 00:02:57
    Showing all the cards
  28. Урок 28. 00:01:39
    Adding the icon assets to the project
  29. Урок 29. 00:06:18
    Update the cards layout, image and color
  30. Урок 30. 00:01:11
    Showing when the data was last updated: client vs server approach
  31. Урок 31. 00:02:00
    Parsing date information from the API response data
  32. Урок 32. 00:03:20
    Creating a new data model to hold the date and value from the API
  33. Урок 33. 00:02:31
    Showing the last updated date in the UI
  34. Урок 34. 00:05:09
    Formatting dates with the intl package
  35. Урок 35. 00:02:15
    Add thousands' separators with the NumberFormat class
  36. Урок 36. 00:06:18
    Error handling overview, and understanding the call stack
  37. Урок 37. 00:05:22
    Showing an alert dialog to the user
  38. Урок 38. 00:03:20
    Completing the error handling code
  39. Урок 39. 00:01:47
    Introduction to data persistence with Shared Preferences
  40. Урок 40. 00:08:33
    Writing a DataCacheService
  41. Урок 41. 00:03:15
    Integrating the DataCacheService in the DataRepository
  42. Урок 42. 00:04:16
    Injecting the DataCacheService in main.dart
  43. Урок 43. 00:05:09
    Hot fix: The getter 'date' was called on null
  44. Урок 44. 00:01:50
    Conclusion & next steps