easy_api_provider 2.1.0
easy_api_provider: ^2.1.0 copied to clipboard
A lightweight Flutter HTTP client built on Dio that handles API requests with built-in UI state management. Supports GET, POST, PUT, PATCH, DELETE, file download, automatic error handling, request log [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add easy_api_providerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
easy_api_provider: ^2.1.0Alternatively, 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:easy_api_provider/easy_api_provider.dart';