Skip to content

whynotmake-it/halofoil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages