Releases: inspirestack/inspire_blur
Releases · inspirestack/inspire_blur
Release list
Inspire Blur 0.4.0
Immutable
release. Only release title and notes can be modified.
Added
- Color adjustments
- Added blur area color adjustments: brightness, contrast, exposure, saturation, and vibrance via the new
BlurColorAdjustmentconfiguration class. - Adjustments can be controlled by the
InspireBlurConfig.colorAdjustmentproperty. - Full support implemented for both child and backdrop blur effects.
- Added blur area color adjustments: brightness, contrast, exposure, saturation, and vibrance via the new
Changed
- Data classes: Added
lerp()and other utility methods to configuration data classes to support seamless UI transitions and implicit animations. - Documentation: Optimized docs using templates, improved API wording.
Inspire Blur 0.3.1
Immutable
release. Only release title and notes can be modified.
Fixed
- Backdrop blur positioning
- Added automatic screen-position updates for backdrop blur.
- Fixed backdrop blur misalignment during route transitions, such as Cupertino swipe-back gestures, and when used inside scrollable lists.
Inspire Blur 0.3.0
Immutable
release. Only release title and notes can be modified.
Added
- Custom mask
- Added
customMask()for defining any arbitrary blur distributions using anImage. - Works with both child and backdrop blur.
- Added
- Blur transformations
- Added
BlurTransformfor applying blur distribution transformations, including: scale, offset, rotation, and inversion. - Works with both child and backdrop blur.
- All transformation properties are fully animatable.
- Added
Changed
- Breaking changes
- Replaced
InspireBlurConfig.inversewithBlurTransform.inversionFactor. - Inversion is now part of blur distribution transformations. The type has changed from
booltodouble, allowing smooth animation and finer control over the inversion amount.
- Replaced
Inspire Blur 0.2.0
Immutable
release. Only release title and notes can be modified.
Added
- Blur shapes: Added
ellipse(),rectangle(), androundedRectangle()blur distributions. - Color tint: Added the
Inspire.tintAPI with factories for applying a gradually fading accent color on top of blur effects. - More flexible configuration: Relaxed constraints on several configuration parameters. For example,
extentnow supports values greater than1.0, making it more flexible for advanced use cases such as animations.
Fixed
- ImageFilter mode: Fixed a
nullptrcrash that could occur when using child blur withInspireBlurMode.imageFilterin dynamically changing widget trees. - Child blur gestures: Fixed a bug where taps and other gestures were not passed through to widgets wrapped with child blur.
Changed
- Breaking change: Blur distribution parameters are now configured through the
distributionfield ofInspireBlurConfig, using dedicatedBlurDistributionsubclasses for each type of blur distribution. - Package size: Reduced the published package size from ~15 MB to ~1 MB.
- Example app: Merged the example app source files into one
main.dartfile that contains a self-contained and minimal copy-pasteable first use example. - Documentation:
- Expanded the
README.mdwith the new blur shape factories, blur pattern screenshots, a color tint demo, and a "Support the Project" section. - Expanded the API documentation and improved the overall structure, formatting, and readability.
- Expanded the
- Unit test coverage: Expanded test coverage for core utilities, including gradient mask generation.
Inspire Blur 0.1.0
Immutable
release. Only release title and notes can be modified.
- Initial release
- Centralized
InspireAPI for quick access - Progressive blur widgets for child and backdrop mode
- GPU-optimized shader program based on a blur-strength gradient map
- Unit and widget tests for improved reliability
- Example app showcasing all available blur types