
This one walks you through production-grade HTTP networking in Flutter using Dio, covering interceptors for auth token injection and refresh, structured error handling with typed exceptions, and retry logic with exponential backoff. It pushes the repository pattern hard, keeping raw API calls in DataSources and orchestration logic separate. The guidance on parsing large JSON payloads in isolates and storing tokens in flutter_secure_storage instead of SharedPreferences is solid. There's also a pragmatic comparison table showing when to just use the simpler http package for prototypes versus going full Dio for production clients that need caching and request cancellation.
npx -y skills add dhruvanbhalara/skills --skill flutter-dio --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.