Viewing version 5.2.0. Open the latest package page.
cached_network_image_platform_interface_ce
5.2.0Platform interface for CachedNetworkImage (Community Edition)
Readme
cached_network_image_platform_interface_ce
Platform interface package for cached_network_image_ce and platform
implementations.
Exposed API highlights
- Base cache manager contracts (
BaseCacheManager,CacheManager,ImageCacheManager) - File response and progress models (
FileInfo,DownloadProgress) - Error and format helpers (
HttpExceptionWithStatus,UnsupportedImageFormatException,ImageFormatDetector) - Network timeout configuration object (
ConnectionParameters)
Changelog
[5.2.0] - 2026-03-03
- Feature: Added
ConnectionParametersconfiguration class.- Includes optional
connectionTimeoutandrequestTimeoutfields. - Enables cache managers to apply HTTP timeout behavior while preserving current behavior when omitted.
- Includes optional
[5.1.0] - 2026-02-23
- Feature: Added
UnsupportedImageFormatExceptionfor non-codec-decodable formats (e.g., SVG) - Feature: Added
ImageFormatDetectorutility with SVG content sniffing - Exported new types for use by platform implementations
[5.0.1] - 2026-02-19
- Renamed package to
cached_network_image_platform_interface_ce - Added
repositoryfield for pub.dev source code display
[4.1.1] - 2024-08-13
- Target js_interop for Wasm support
[4.1.0] - 2024-08-01
- Update dependencies
- Update SDK version to 3.0.0
[4.0.0] - 2023-12-31
- Removed errorListener from ImageLoader interface
[3.0.0] - 2023-09-25
- Add error to ErrorListener
- Specify types
- Remove
load, useloadImageinsteadloadBuffer
[2.0.0] - 2022-08-31
- Added loadBufferAsync for Flutter 3.3
[1.0.0] - 2021-07-16
- Initial release
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'cached_network_image_platform_interface_ce:5.2.0'pubspec.yaml
name: cached_network_image_platform_interface_ce
description: Platform interface for CachedNetworkImage (Community Edition)
version: 5.2.0
homepage: https://github.com/Erengun/flutter_cached_network_image_ce
repository: https://github.com/Erengun/flutter_cached_network_image_ce/tree/develop/cached_network_image_platform_interface
topics:
- cache
- image
- network-image
environment:
sdk: ^3.0.0
flutter: '>=3.10.0'
dependencies:
file: '>=7.0.0 <8.0.0'
flutter:
sdk: flutter
dev_dependencies:
flutter_lints: ^4.0.0
flutter_test:
sdk: flutter
Version history
Dependencies
file "\u003e=7.0.0 \u003c8.0.0"
flutter {
"sdk": "flutter"
}