Developer
Native Dio
A Flutter federated plugin that wraps the popular HTTP client library Dio and integrates with native platform-specific clients for Android, iOS, and macOS. This enables efficient, platform-specific networking capabilities while maintaining a unified API across Flutter projects.
!IMPORTANT Consider using eit_networking package which internally is using this package.
Features
It uses native HTTP clients for Android, iOS, and macOS for optimized performance.
Installation
dart pub add eit_native_dio --hosted-url=https://gitea.whitelabel.mobile.embedit.dev/api/packages/platform/pub/
!IMPORTANT You need access token for fetching from private pub repository. ELI add token automatically
Usage
Integrating the plugin is seamless—just wrap your existing Dio instance with the plugin's native enhancements:
final dio = Dio(...);
EitNativeDio.wrap(dio);
>
await dio.get(...);
await dio.post(...);
...