image_builder 1.1.1 copy "image_builder: ^1.1.1" to clipboard
image_builder: ^1.1.1 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.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
  • πŸ›‘οΈ 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() and ImageBuilder.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
3
likes
0
points
391
downloads

Publisher

unverified uploader

Weekly Downloads

A comprehensive Flutter package for handling network images, SVGs, local assets, file images, and memory images with caching and error handling.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

cached_network_image, flutter, flutter_svg

More

Packages that depend on image_builder