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:
dependencies:
avatar_glow: <latest version>
❔ usage
import this class
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(
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,
),
),
)
Comments are closed.