1. Learn Flutter — solved exercises > 
  2. Exercises > 
  3. API and async

API and async

Almost every real app consumes external data. These exercises cover the full flow: REST API calls using the http package, loading and error state management with FutureBuilder, and infinite scroll pagination with ScrollController. Mastering these is essential for building connected apps.

  • Dio with interceptors in Flutter: solved exercise
  • WebSockets in Flutter: solved exercise with web_socket_channel
  • Flutter timeout and retry: solved exercise
  • Loading, error and empty states in Flutter: solved exercise
  • Pagination with cache invalidation: solved exercise
  • SWR-like pull to refresh in Flutter: solved exercise
  • Typed JSON parsing in Flutter: solved exercise
  • Infinite Scroll in Flutter: solved pagination exercise
  • FutureBuilder in Flutter: solved exercise for loading states
  • Flutter API Call with http: solved REST exercise
May 25, 2026
Flutter en rigle.dev

  • Home


    • Widgets and UI
      • Forms and navigation
        • State and architecture
          • API and async
            • Dio with interceptors in Flutter: solved exercise
            • WebSockets in Flutter: solved exercise with web_socket_channel
            • Flutter timeout and retry: solved exercise
            • Loading, error and empty states in Flutter: solved exercise
            • Pagination with cache invalidation: solved exercise
            • SWR-like pull to refresh in Flutter: solved exercise
            • Typed JSON parsing in Flutter: solved exercise
            • Infinite Scroll in Flutter: solved pagination exercise
            • FutureBuilder in Flutter: solved exercise for loading states
            • Flutter API Call with http: solved REST exercise
          • Persistence and data
            • Testing and resources
              • Tools & Code
                • Device
                • Internationalization

                •  
                •  

                Built with by Hugo