network_cache_interceptor 0.0.1 copy "network_cache_interceptor: ^0.0.1" to clipboard
network_cache_interceptor: ^0.0.1 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: ^0.0.1

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
155
points
433
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.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, path, sqflite

More

Packages that depend on network_cache_interceptor