any_image 0.0.2
any_image: ^0.0.2 copied to clipboard
A universal Flutter image widget that renders any source
Changelog #
All notable changes to any_image will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.0.2 - 2026-06-07 #
Added #
AsyncSourceResolver— interface for resolvers requiring async operationsMagicBytesResolver— detects image format from binary magic bytes via HTTP range request (bytes=0-63); supports PNG, JPEG, WebP, GIF, SVGallowMagicBytesparam onAnyImage— opt out of async format detectionDESIGN.md— architectural overview for contributors
Changed #
ResolverPipeline— extended with async resolver support; async pass only runs when format is unresolved after sync passAnyImagewidget — manageshttp.Clientlifecycle for async resolution
0.0.1 - 2026-04-22 #
Added #
AnyImagewidget — universal image widget that accepts any source string- Automatic source resolution via
ResolverPipeline PrefixResolver— resolvesassets/,http://, andhttps://prefixesExtensionResolver— resolves.svg,.png,.jpg,.jpeg,.webp,.gifextensionsNetworkRasterRenderer— renders network raster images viacached_network_imageAssetRasterRenderer— renders asset raster images viaImage.assetNetworkSvgRenderer— renders network SVG images viaflutter_svgAssetSvgRenderer— renders asset SVG images viaflutter_svgformatoverride param — allows explicit format override when auto-resolution is insufficientplaceholderanderrorWidgetparams for loading and error states- Full unit test coverage for resolver layer