Avatar Glow
This Flutter package provides a Avatar Glow Widget with cool background glowing animation.
Installation
In the dependencies: section of your pubspec.yaml, add the following line:
Import this class
import 'package:avatar_glow/avatar_glow.dart';
AvatarGlow(
glowColor: Colors.blue,
endRadius: 90.0,
duration: Duration(milliseconds: 2000),
repeat: true,
showTwoGlows: true,
repeatPauseDuration: Duration(milliseconds: 100),
child: Material(
elevation: 8.0,
shape: CircleBorder(),
child: CircleAvatar(
backgroundColor:Colors.grey[100] ,
child: Image.asset('assets/images/flutter.png',height: 60,),
radius: 40.0,
),
),
Credit (github url) : https://github.com/apgapg/avatar_glow#import-this-class