avatar_glow
3.0.1, released 3 years ago by ayushpgupta.com
A Flutter widget providing a background glowing and ripple animation for avatars or other children.
What it does
Provides an AvatarGlow widget that wraps a child widget (like an avatar) and renders a continuous customizable background glowing animation around it. Supports custom delays, shapes, colors, and curves.
AI-written summary of version 3.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to add an attention-grabbing glowing or ripple effect behind an avatar or profile image.
- You are building features like a voice recording indicator or an active speaker highlight.
Skip it when
- You need standard data-driven animations or full physics-based motion engines like Rive or Lottie.
- You need complex layout or non-glowing standard UI components.
Strengths
- Simple declarative usage with intuitive parameters like startRadius, glowColor, and animate.
- Supports null safety and multiple platforms including Android, iOS, Web, and desktop.
Weaknesses
- Limited to a specific glowing and pulsing effect.
- Lacks advanced animation sequencing out-of-the-box beyond basic delay and duration configuration.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
AvatarGlow(
endRadius: 60.0,
child: Material(
elevation: 8.0,
shape: CircleBorder(),
child: CircleAvatar(
backgroundColor: Colors.grey[100],
child: Image.asset(
'assets/images/dart.png',
height: 50,
),
radius: 30.0,
),
),
)Alternatives
Packages that do the same job and could replace avatar_glow.
- lottie
Render After Effects JSON animations natively in Flutter.
96Compare - simple_ripple_animation
A customizable Flutter widget for ripple and pulse animations.
75Compare - wave
Flutter widget for displaying animated wave backgrounds with custom color, duration, and effects.
79Compare - rive_native
Rive's native runtime and renderer for Flutter.
82Compare