one_request 2.2.0
one_request: ^2.2.0 copied to clipboard
A Flutter package to make HTTP requests with advanced error handling, including Dio and EasyLoading. Features colored logging, global overlay controls, retry logic, caching, and batch requests.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add one_requestThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
one_request: ^2.2.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:one_request/one_request.dart';