The first thing that comes to mind with the term ‘avatar’ means a form or representation of a person. This is a detailed profile of a character that depicts yourself. It is an essential part. It is highly recommended that an avatar is factually based as opposed to a vague description based on assumptions.
In this article, we mention the Flutter package provides an Avatar Glow Widget with cool background glowing animation. Moreover, we also talk about install, usage.
dependencies: section of your
pubspec.yaml, add the following line:
dependencies: avatar_glow: <latest version>
Import this class
Usage is simple. This is is a widget offering different customizable optional parameters with child displayed at its center.
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 , child: Image.asset('assets/images/flutter.png',height: 60,), radius: 40.0, ), ), )