Spent the last few weeks building animated glowing borders for a project. You know the effect - like ChatGPT's input field or Apple's Siri animation.
The problem? Most approaches I found online were either:
- Laggy on budget phones (15-20fps)
- Didn't work well on Flutter Web
- Required a ton of boilerplate
So I built my own solution from scratch.
Results
✅ Locked 60fps on budget Android devices
✅ Works on iOS, Android, Web, Desktop
✅ Single widget wrapper - minimal code
✅ Auto-fallback for low-end devices
I packaged it up since I'll be reusing it across projects. Happy to share if anyone's interested!
Would love feedback from the Flutter community.
Top comments (0)