custom_image_view 5.1.2
custom_image_view: ^5.1.2 copied to clipboard
A Flutter widget for cached network images, network SVGs, asset images, asset SVGs, File, and XFile sources.
Change Log for CustomImageView #
[Version 5.1.2] - 2026-05-08 #
Added #
- Added
bytesfor in-memory raster image rendering. - Added
svgBytesfor in-memory SVG rendering. - Added
progressIndicatorBuilderfor raster network download progress UI. - Added accessibility support with
semanticsLabelandexcludeFromSemantics. - Added a complete
example/Flutter app for pub.dev package previews. - Added pub.dev metadata for repository, issue tracker, documentation, and topics.
- Replaced the direct
image_pickerdependency with lightercross_filesupport forXFile. - Moved cached network image loading behind conditional imports to improve web/WASM compatibility.
[Version 5.1.0] - 2026-05-08 #
Added #
- Added network SVG support with the new
svgUrlparameter. - Added cache controls with
cacheManager,cacheKey,httpHeaders, memory cache sizing, disk cache sizing, anduseOldImageOnUrlChange. - Added
CustomImageView.evictFromCache(...)for network raster and SVG cache eviction. - Added cache-backed network SVG loading through
flutter_cache_manager. - Added automatic
.svgURL detection for the existingurlparameter. - Added automatic
.svgasset detection for the existingimagePathparameter. - Added SVG rendering support for local
FileandXFilepaths ending in.svg. - Added
svgErrorBuilderfor SVG-specific load failures. - Added conditional local-file rendering so the public library can compile for Flutter web.
- Added widget tests for source routing, wrappers, placeholders, tap behavior, and error fallback.
Changed #
- Replaced
svg_flutterwith the maintainedflutter_svgpackage. - Updated
cached_network_imageto^3.4.1. - Added direct
flutter_cache_managerandhttpdependencies for explicit cache-backed SVG network loading. - Updated
image_pickerto^1.2.2. - Updated
flutter_lintsto^6.0.0. - Updated the Flutter lower bound to
>=3.10.0to match the Dart 3 package baseline. - Improved network image sizing, fitting, alignment, and color filter consistency.
- Expanded README docs with source priority, platform notes, and examples.
[Version 5.0.2] - 2024-01-10 #
Fixed #
- color related issue.
[Version 5.0.1] - 2024-01-10 #
Added #
- Added
imageBuilderparameter toCustomImageViewwidget that creates a widget when the image have some decorations. - Added
colorFilterparameter toCustomImageViewwidget that added colorfilter the [SVG_ASSETS].
Fixed #
- Addressed potential issues related to Alignment.
[Version 5.0.0] - 2024-01-09 #
Added #
- Support for
XFiletype in theCustomImageViewwidget.-
You can now directly use an
XFileto display images from local files. -
Example usage:
CustomImageView( xfile: xfile, height: 100, width: 100, fit: BoxFit.cover, color: Colors.red, );This will display the image from the specified
XFile.
-
Changed #
- Updated the widget to version 4.1.0.
Fixed #
- Addressed potential issues related to displaying images from
XFiletypes.
[Version 4.0.0] - 2024-01-08 #
Added #
- Custom error widget with
errorWidgetparameter. - Error builder function with
errorBuilderparameter.
Changed #
- Updated the widget to version 4.0.0.
Fixed #
- Fixed potential issues related to error handling.
[Version 3.0.0] - 2024-01-08 #
Added #
- Downgraded dart version.
[Version 2.0.0] - 2024-01-08 #
Added #
- Added license and some other fixes.
[Version 1.0.0] - 2024-01-08 #
Added #
- Initial implementation of the
CustomImageViewwidget. - Supports displaying images from various sources, including network, local file, SVG, etc.
- Allows customization of image properties such as height, width, color, fit, etc.
- Supports onTap callback for interaction.
- Provides options for margin, border radius, and border styles.
- Offers blend mode for applying color filters to SVG images.
- Utilizes the
CachedNetworkImagewidget for efficient network image loading.