api_ease 1.0.0
api_ease: ^1.0.0 copied to clipboard
Eliminate API call boilerplate in Flutter. Auto internet check, loading states, response validation, retry, debounce — in one line. Works with any HTTP client.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add api_easeThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
api_ease: ^1.0.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:api_ease/api_ease.dart';