β¨ Glow Kit
A powerful, customizable, high-performance Flutter glow animation package
supporting 20+ beautiful shapes with smooth, modern animations.
π₯ Preview
https://raw.githubusercontent.com/amityamsi/glow_kit/main/src/app.gif
β¨ Features
- Smooth animated glow effects
- 20+ built-in shapes
- Fully customizable
- Optimized with CustomPainter
- High FPS performance
- Null-safe
- Flutter 3+ compatible
π¦ Installation
Add this to your pubspec.yaml:
dependencies:
glow_kit: ^1.0.1
Then run:
flutter pub get
π₯ Import
import 'package:glow_kit/glow_kit.dart';
β‘ Quick Start
GlowEffect(
glowColor: Colors.blue,
child: const Icon(
Icons.star,
size: 60,
color: Colors.white,
),
)
Thatβs it. β¨
π₯ Preview
Add a GIF inside
/assets/demo.gifand reference it below.

After publishing, it will render automatically on pub.dev.
π§© Full Example
GlowEffect(
glowColor: Colors.purple,
glowCount: 3,
duration: const Duration(seconds: 2),
startDelay: const Duration(milliseconds: 500),
repeatPauseDuration: const Duration(milliseconds: 300),
glowRadiusFactor: 0.8,
animate: true,
repeat: true,
curve: Curves.easeInOut,
shape: GlowShape.hexagon,
child: const Icon(
Icons.favorite,
size: 80,
color: Colors.white,
),
)
π¨ Supported Shapes
Basic
Rectangle β’ RoundedRectangle β’ Circle β’ Square β’ Oval β’ Stadium β’ Capsule
Polygon
Triangle β’ Diamond β’ Pentagon β’ Hexagon β’ Octagon
Stars
StarFive β’ StarSix
Decorative
Heart β’ Cloud β’ Bubble β’ Badge β’ Shield
Modern UI
CutCorner β’ BeveledRect β’ Ticket β’ Ribbon
βοΈ Properties
| Property | Type | Description |
|---|---|---|
| glowColor | Color | Glow color |
| glowCount | int | Number of glow layers |
| glowRadiusFactor | double | Glow expansion scale |
| endGlowRadius | double? | Final glow radius |
| duration | Duration | Animation duration |
| startDelay | Duration | Delay before start |
| repeatPauseDuration | Duration | Pause between loops |
| animate | bool | Enable/disable animation |
| repeat | bool | Repeat animation |
| curve | Curve | Animation curve |
| shape | GlowShape | Select glow shape |
π Performance
Glow Kit uses CustomPainter for:
- Minimal rebuilds
- Smooth animations
- Efficient blur rendering
- High performance on all devices
π― Best Practices
- Use darker backgrounds for better glow visibility
- Keep glowCount between 2β4
- Avoid excessive radius scaling
- Use animate: false for static glow
π€ Contributing
Contributions are welcome!
Feel free to open issues or submit pull requests.
π Support Glow Kit
If Glow Kit helps your project and saves development time,
consider supporting its continued development β€οΈ
Your support helps:
- π Add new glow shapes
- π¨ Improve animation smoothness
- β‘ Optimize performance
- π Maintain long-term updates
Thank you for supporting open source π
If this package helps your project:
- β Like it on pub.dev
- β Star it on GitHub
- π’ Share it with the Flutter community
π License
MIT License