variable_blur 0.1.0
variable_blur: ^0.1.0 copied to clipboard
A Flutter package for iOS and Android that provides customizable blur effects including tilt-shift blur for depth-of-field effects.
0.1.0 2024-01-XX #
✨ Improvements #
- Performance: 40-75% performance boost with 4-tier optimization system
- Blur Range: Extended maximum kernel size to 100 pixels
- ResponsiveBlurSides: Added screen size breakpoint configuration
🔧 Fixes #
- Impeller Issue: Fixed SkSL shader compilation errors when Impeller is disabled on Android
- Cross-Platform: Ensured compatibility with both Impeller and Skia rendering backends
0.0.8 2024-01-XX #
Added #
- Comprehensive documentation for
BlurSides
(ratio-based, 0–1) andResponsiveBlurSides
(pixel-based) for clarity and ease of use. - Improved API docs and inline comments for all public classes and methods.
Changed #
- Major performance boost: rendering and blur computation are now significantly faster and more responsive, especially on large images and during dynamic updates.
- Responsiveness improvements: blur effects now adapt more smoothly to widget size and pixel-based configurations.
- Cleaned up and refactored code for maintainability and efficiency.
- Updated all examples and documentation to reflect new best practices and usage patterns.
Fixed #
- Improved handling of edge cases for both ratio-based and pixel-based blur regions.
- Enhanced compatibility and stability across iOS and Android devices.
0.0.7 #
Added #
- Automatic kernel size calculation based on sigma value and quality setting.
- Simplified API - no more manual kernel size configuration needed!
Changed #
- REMOVED: The
kernelSize
parameter has been removed to simplify the API. - IMPROVED: Quality settings now automatically optimize kernel size for best performance vs quality trade-off.
- Cleaned up unused uniforms in shaders (removed
edgeIntensity
from horizontal pass). - Updated all examples and documentation to reflect the simplified API.
Fixed #
- Previously, using sigma values greater than 15 was not recommended and could result in poor blur or performance issues.
- Now, kernel size is automatically calculated, making high sigma values safer to use with appropriate quality settings.
0.0.6 #
- VISUAL: Added comprehensive screenshot gallery to README.md for better pub.flutter-io.cn presentation
- IMPROVED: Enhanced README.md with visual examples showcasing different blur effects
- OPTIMIZED: Refined package description to meet pub.flutter-io.cn character limits (60-180 chars)
- ENHANCED: Added organized image gallery displaying tilt-shift, horizontal, vertical, and dynamic blur effects
- PRESENTATION: Improved package discoverability with prominent visual examples in documentation
- POLISH: Better structured README layout for professional pub.flutter-io.cn package listing
0.0.5 #
- DOCUMENTATION: Comprehensive API documentation added to meet pub.flutter-io.cn standards (20%+ coverage achieved)
- NEW: Added detailed dartdoc comments for all public API elements
- IMPROVED: Enhanced library-level documentation with features overview and usage examples
- ADDED: Important compatibility notes - blur effects only work on images or colored containers
- ENHANCED: Detailed class and method documentation with performance considerations
- QUALITY: Added comprehensive examples and best practices in documentation
- REFERENCES: Clear references to example app for implementation guidance
0.0.4 #
- BREAKING FIX: Fixed coordinate system compatibility between iOS and Android platforms
- NEW: Added platform-aware rendering to prevent upside-down blur effects on Android
- IMPROVED: Enhanced cross-platform shader compatibility with automatic coordinate system detection
- TECHNICAL: Added platform detection logic to handle different coordinate origins (iOS: bottom-left, Android: top-left)
- PERFORMANCE: Optimized shader branching for platform-specific coordinate transformations
0.0.3 #
- Documentation updates and package maintenance
0.0.2 #
- Internal improvements and bug fixes
0.0.1 #
- Initial release with variable blur effects
- Tilt-shift blur implementation with GPU shaders
- Customizable blur sides (top, bottom, left, right)
- Performance-optimized blur rendering
- Quality control settings (low, medium, high)
- Cross-platform support for Flutter applications