Dio + Interceptors: The Networking Layer FlutterInit Generates
Enable Dio in FlutterInit and you get AppConfig.dio with logging interceptors plus a DioService wrapped in runTask / Either — opt-in, not silent magic.
When to choose this stack
Turn on Dio when you need a shared HTTP client with timeouts, JSON headers, request logging, and Either-style error handling across features.
Ready to build?
Generate this project in seconds
FlutterInit scaffolds the entire structure described in this guide — wired up, typed, and ready for flutter run.