flutter_cache_manager_dio_proxy

Last updated:

0 purchases

flutter_cache_manager_dio_proxy Image
flutter_cache_manager_dio_proxy Images
Add to Cart

Description:

flutter cache manager dio proxy

Flutter_cache_manager_dio #
flutter_cache_manager with dio
Getting Started #
A Dio implementation for flutter_cache_manager_dio
var dio = Dio();
dio.interceptors.add(LogInterceptor(responseBody: false));
DioCacheManager.initialize(dio);
var file = await DioCacheManager.instance.getSingleFile(url);
copied to clipboard
Can use Dio Interceptors etc.
cached_network_image can use
Like glide with okhttp
CachedNetworkImage(
cacheManager: DioCacheManager.instance,
imageUrl: url,
placeholder: (context, url) => CircularProgressIndicator(),
errorWidget: (context, url, error) => Container(
child: Text(
'error',
),
),
);
'''
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.