This Flutter package provides a Avatar Glow Widget with cool background glowing animation.
In the dependencies:
section of your pubspec.yaml
, add the following line:
dependencies:
avatar_glow: <latest version>
import 'package:avatar_glow/avatar_glow.dart';
Usage is simple. Avatar Glow is a widget offering different customizable optional parameters with child displayed at its center.
AvatarGlow(
startDelay: Duration(milliseconds: 1000),
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,
),
),
)
- pie_chart Flutter Pie Chart with cool animation.
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -m 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request