Overview
Foil is a Flutter package that wraps widgets with a dynamic, rainbow shimmer effect that responds to device motion via the accelerometer. It enhances visual appeal with smooth, twinkling animations and offers extensive gradient customization options. Ideal for creating eye-catching backgrounds or interactive elements, Foil combines motion sensitivity with rich gradient features to deliver a vibrant, animated experience. The package is lightweight and easy to integrate, making it perfect for apps aiming to stand out with playful, responsive design. Its source code is open and publicly available on GitHub.
Use cases
- Creating animated app backgrounds
- Adding motion-responsive effects to UI elements
- Enhancing splash screens with shimmering gradients
- Designing interactive buttons with dynamic visuals
- Building visually engaging landing pages
Key features
- Rainbow shimmer animation
- Accelerometer-driven motion response
- Customizable gradient configurations
- Smooth, real-time animation
- Lightweight and easy integration
- Open-source on GitHub
Suitable for
- UI designers seeking dynamic effects
- Developers building playful or gamified apps
- Apps requiring eye-catching visual feedback
- Creative projects focused on motion graphics
- Prototyping interactive user interfaces
Considerations
- May impact performance on older devices
- Requires device motion permissions for full effect
- Best suited for decorative rather than functional UIs
- Limited platform support (no specific platforms listed)
