extended_http 0.3.5 extended_http: ^0.3.5 copied to clipboard
It extends HTTP package then combine with Hive to provide cache. It also supports authorization via custom headers.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add extended_http
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
extended_http: ^0.3.5
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:extended_http/extended_http.dart';