image_builder 1.1.4
image_builder: ^1.1.4 copied to clipboard
A comprehensive Flutter package for handling network images, SVGs, local assets, file images, and memory images with caching and error handling.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.4 - 2025-09-28 #
Updated #
- ๏ฟฝ Version bump: Updated to 1.1.4 for republication
- ๐จ Code formatting: Applied
dart format
to ensure all code meets pub.dev standards - โจ Package maintenance: Routine update to maintain package quality
1.1.3 - 2025-09-28 #
Fixed #
- ๐ Homepage and Repository URLs: Added valid homepage and repository entries to pubspec.yaml to fix pub.dev scoring
- ๐ฆ Pub.dev compliance: Should now achieve full 160/160 pub points
- ๐ฏ Package metadata: Complete package information for better discoverability
1.1.2 - 2025-09-28 #
Fixed #
[1.1.2] - 2025-09-28 #
Fixed #
- ๐จ Code formatting: Applied
dart format
to all files to meet pub.dev static analysis requirements - ๐ง Package description: Shortened description to meet pub.dev requirements (60-180 characters)
- ๏ฟฝ URL validation: Removed unreachable repository URLs to improve pub.dev scoring
- ๏ฟฝ๐ฆ Pub.dev compliance: Fixed all addressable issues identified in package analysis for better pub points
- โ ๏ธ Platform support: Note - Web platform limitations come from
cached_network_image
dependency, not package code
1.1.1 2025-09-28log #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.1.1] - 2025-09-28 #
Fixed #
- ๐ง Package description: Shortened description to meet pub.dev requirements (60-180 characters)
- ๐ URL validation: Removed non-existent repository URLs to improve pub.dev scoring
- ๐ฆ Pub.dev compliance: Fixed issues identified in package analysis for better pub points
1.1.0 - 2025-09-28 #
Added #
- ๐ File image support: New
ImageBuilder.file()
constructor for loading images from device files - ๐พ Memory image support: New
ImageBuilder.memory()
constructor for displaying images from Uint8List data - ๐ฏ Loading color customization: New
loadingColor
parameter for customizing adaptive loading indicator colors - ๐ Platform-adaptive loading indicators:
- iOS/macOS:
CupertinoActivityIndicator
for native look - Android/Web/Others:
CircularProgressIndicator
for Material Design
- iOS/macOS:
- ๐ก๏ธ Enhanced error handling: Bulletproof network error handling prevents cascading crashes
- ๐งช Comprehensive test suite: 25+ test cases covering all functionality including file/memory images
- ๐ฑ Multi-platform support: Full iOS, macOS, Android, Web compatibility
- ๐ Enhanced example app: Interactive file picker with cross-platform image upload functionality
- ๐ macOS network permissions: Proper entitlements for network image loading
- ๐ Comprehensive comments: All test files include detailed explanatory comments
Changed #
- โป๏ธ Simplified API: Unified constructor patterns with cleaner parameter structure
- ๐จ Improved example app: Real device file picker integration showcasing ImageBuilder.file()
- ๐ Enhanced README: Complete rewrite with better organization, more examples, and updated API reference
- ๐ง Updated dependencies: flutter_svg updated to ^2.0.9 for better compatibility
Fixed #
- ๐ Network error crashes: Fixed cascading StackTrace errors in web environment
- ๐ง Web compatibility: Improved error handling for web-specific issues
- ๐ฏ Loading indicator reliability: Consistent behavior across all platforms
- ๐ฑ File handling edge cases: Better error recovery for invalid file paths and corrupted data
1.0.0 - 2025-09-27 #
Added #
- ๐ Initial release of ImageBuilder package
- ๐ Network image support with caching via
cached_network_image
- ๐ฑ Local asset support for PNG, JPG, JPEG, WEBP formats
- ๐จ SVG support with color customization via
flutter_svg
- ๐ Automatic format detection based on file extension
- โก Built-in error handling and fallback widgets
- ๐ Loading placeholders for network images
- ๐ Flexible sizing options (width/height or unified size parameter)
- ๐ Comprehensive logging for debugging
- ๐๏ธ Multiple constructors:
ImageBuilder.image()
andImageBuilder.network()
Features #
- ๐ผ๏ธ Multiple image format support
- ๐ Network image caching
- ๐จ SVG color customization
- โก Error handling with fallback widgets
- ๐ Loading states for network images
- ๐ Flexible sizing options