p-hatan/ mirror

pub repository

mirror.p-hatan.com

cached_network_image_platform_interface_ce

5.2.0

Platform interface for CachedNetworkImage (Community Edition)

Cached in Iran · upstream_checksum

Download archive

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 ConnectionParameters configuration class.
    • Includes optional connectionTimeout and requestTimeout fields.
    • Enables cache managers to apply HTTP timeout behavior while preserving current behavior when omitted.

[5.1.0] - 2026-02-23

  • Feature: Added UnsupportedImageFormatException for non-codec-decodable formats (e.g., SVG)
  • Feature: Added ImageFormatDetector utility 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 repository field 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, use loadImage instead loadBuffer

[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.com
flutter pub add cached_network_image_platform_interface_ce
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

VersionPublishedArchiveSHA-256
5.0.02026-02-19T10:04:29.329536ZCached6df9bb5c02aedacc156607e792f29ef34e4337e08487ed80793983bf031abb91
5.0.12026-02-19T10:18:13.074227ZCached0a45c70700d9637947b1ac22574faf43f0877bb248c3afbcd674acf3ce929414
5.1.02026-02-23T12:07:48.318117ZCached3bc55e6052e19b0d9f1d70ffb431a29d8dae95bd51cdb61b25722ecc8aae4871
5.2.02026-03-03T11:58:43.373086ZCached95343645becaeac01dd6eeb9f3a85448b6076d211010ff1973e8bbfd840b571d

Dependencies

file "\u003e=7.0.0 \u003c8.0.0"

flutter { "sdk": "flutter" }