halofoil 0.0.1 copy "halofoil: ^0.0.1" to clipboard
halofoil: ^0.0.1 copied to clipboard

A Flutter package for creating a halo effect around widgets.

Halofoil ✨ #

Pub Version License: MIT

A highly customizable Flutter widget that adds a dynamic, interactive holographic foil effect to its children. Simulates iridescence and texture, reacting beautifully to tilt angles and offsets.

Example Video

Features 🎯 #

  • Interactive Effect: Responds dynamically to changes in angleX, angleY (tilt), and offset (position/parallax).
  • Rich Visuals: Combines customizable radial rainbow gradients and linear stripes for a complex holographic look.
  • Optional Grain Texture: Add realism with a subtle, repeating grain overlay (grainAsset).
  • Overlay Blending: Children are blended onto the effect using BlendMode.overlay for seamless integration.
  • Clipping: Easily clip the effect and children to shapes using borderRadius.
  • Highly Configurable: Control gradient colors, stops, shift intensity, sensitivity, base alignments, and grain opacity. Sensible defaults provided.

Installation 💻 #

Add halofoil to your pubspec.yaml dependencies:

dependencies:
  halofoil: ^0.0.1
19
likes
140
points
20
downloads

Publisher

verified publisherwhynotmake.it

Weekly Downloads

A Flutter package for creating a halo effect around widgets.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on halofoil