dio_api_client 5.3.3
dio_api_client: ^5.3.3 copied to clipboard
API Client for flutter projects based on dio package. It supports caching, logging, authentication, error handling, etc. It is easy to use and extend.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dio_api_client
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dio_api_client: ^5.3.3
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dio_api_client/dio_api_client.dart';