network_cache_interceptor 1.2.4 copy "network_cache_interceptor: ^1.2.4" to clipboard
network_cache_interceptor: ^1.2.4 copied to clipboard

NetworkCacheInterceptor is a custom interceptor designed to optimize network requests by integrating caching functionality into your application using the Dio library.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add network_cache_interceptor

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  network_cache_interceptor: ^1.2.4

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:network_cache_interceptor/network_cache_interceptor.dart';
8
likes
160
points
396
downloads

Publisher

unverified uploader

Weekly Downloads

NetworkCacheInterceptor is a custom interceptor designed to optimize network requests by integrating caching functionality into your application using the Dio library.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, path, sqflite

More

Packages that depend on network_cache_interceptor