image_builder 1.1.2
image_builder: ^1.1.2 copied to clipboard
A comprehensive Flutter package for handling network images, SVGs, local assets, file images, and memory images with caching and error handling.
Chang## [1.1.3] - 2025-09-28 #
Fixed #
- π¨ Code formatting: Applied
dart format
to all files to meet pub.flutter-io.cn static analysis requirements - π§ Package description: Shortened description to meet pub.flutter-io.cn requirements (60-180 characters)
- π URL validation: Removed non-existent repository URLs to improve pub.flutter-io.cn scoring
- π¦ Pub.dev compliance: Fixed all issues identified in package analysis for maximum pub points
1.1.2 - 2025-09-28 #
Fixed #
- π¨ Code formatting: Applied
dart format
to all files to meet pub.flutter-io.cn static analysis requirements - π§ Package description: Shortened description to meet pub.flutter-io.cn requirements (60-180 characters)
- οΏ½ URL validation: Removed unreachable repository URLs to improve pub.flutter-io.cn 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.flutter-io.cn requirements (60-180 characters)
- π URL validation: Removed non-existent repository URLs to improve pub.flutter-io.cn 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