Skip to content

Releases: inspirestack/inspire_blur

Inspire Blur 0.4.0

Choose a tag to compare

@AdamskiMarcin AdamskiMarcin released this 18 Jul 22:00
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 BlurColorAdjustment configuration class.
    • Adjustments can be controlled by the InspireBlurConfig.colorAdjustment property.
    • Full support implemented for both child and backdrop blur effects.

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

Choose a tag to compare

@AdamskiMarcin AdamskiMarcin released this 07 Jul 14:38
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

Choose a tag to compare

@AdamskiMarcin AdamskiMarcin released this 06 Jul 17:17
Immutable release. Only release title and notes can be modified.

Added

  • Custom mask
    • Added customMask() for defining any arbitrary blur distributions using an Image.
    • Works with both child and backdrop blur.
  • Blur transformations
    • Added BlurTransform for applying blur distribution transformations, including: scale, offset, rotation, and inversion.
    • Works with both child and backdrop blur.
    • All transformation properties are fully animatable.

Changed

  • Breaking changes
    • Replaced InspireBlurConfig.inverse with BlurTransform.inversionFactor.
    • Inversion is now part of blur distribution transformations. The type has changed from bool to double, allowing smooth animation and finer control over the inversion amount.

Inspire Blur 0.2.0

Choose a tag to compare

@AdamskiMarcin AdamskiMarcin released this 29 Jun 15:31
Immutable release. Only release title and notes can be modified.

Added

  • Blur shapes: Added ellipse(), rectangle(), and roundedRectangle() blur distributions.
  • Color tint: Added the Inspire.tint API 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, extent now supports values greater than 1.0, making it more flexible for advanced use cases such as animations.

Fixed

  • ImageFilter mode: Fixed a nullptr crash that could occur when using child blur with InspireBlurMode.imageFilter in 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 distribution field of InspireBlurConfig, using dedicated BlurDistribution subclasses 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.dart file that contains a self-contained and minimal copy-pasteable first use example.
  • Documentation:
    • Expanded the README.md with 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.
  • Unit test coverage: Expanded test coverage for core utilities, including gradient mask generation.

Inspire Blur 0.1.0

Choose a tag to compare

@AdamskiMarcin AdamskiMarcin released this 29 Jun 15:25
Immutable release. Only release title and notes can be modified.
  • Initial release
  • Centralized Inspire API 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