image_multi_type 1.0.0
image_multi_type: ^1.0.0 copied to clipboard
Flutter package for displaying images from network, assets, SVG, files, or widgets with caching and error handling.
Changelog #
All notable changes to the image_multi_type
package will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2025-01-09 #
Added #
- Initial release of
image_multi_type
package ImageMultiType
widget supporting multiple image types:- Network images with caching
- Asset images
- SVG assets
- File bytes
- Async file loading
- Custom widgets
- Flutter icons
CircleImageWidget
for circular image displayRoundImageWidget
for rounded corner imagesNetworkCacheHelper
utility class for cache management- Comprehensive error handling with customizable error widgets
- Support for color tinting and custom styling
- Built-in caching for network images using
flutter_cache_manager
- SVG support using
flutter_svg
Features #
- Smart image type detection based on input
- Automatic fallback to error widgets on failure
- Configurable error images and placeholders
- Performance optimized for smooth scrolling
- Memory efficient image handling
- Support for all Flutter platforms (iOS, Android, Web, Desktop)
Dependencies #
flutter_svg: ^2.2.0
for SVG supportcached_network_image: ^3.4.1
for network image cachingflutter_cache_manager: ^3.4.1
for advanced cache management