Flutter Heroes 2025

From Zero to Network Manager Hero
2025-03-12 , Main Stage

In the realm of mobile application development, managing network requests efficiently is of prime importance. Whether you're fetching data from a remote server, posting user information, or handling complex API interactions, a robust network management strategy is essential for building responsive and reliable applications.

In this speech, I will walk you through my approach to implementing a generalised Http client in Flutter using the Dio package.

Dart provides the http package to streamline network operations. Upon it, Dio, is built offering features such as interceptors, request cancellation, and robust error handling.However, to harness the full potential of Dio, it's crucial to adopt a structured approach to network management. This involves not just sending Http requests but also organising your code in a way that is maintainable, scalable, and testable. This is where the concept of a standardised network request structure comes into play.

Marco was an Android developer before adopting Flutter as way of life. He works for NTT DATA as IT consultant working on mobile and web application made in Flutter. His main role is mobile architect but also as mentor for his padawans teaching them the Flutter way.

This speaker also appears in: