avatar_glow
avatar_glow copied to clipboard
glowRepeatCount variable added to repeat animation a specific number of times
The animation will be repeated 5 times as glowRepeatCount is set to 5. If this value is not passed then it will have existing behaviour.
Code:
AvatarGlow(
animate: _animate,
glowRepeatCount: 5,
glowColor: Colors.cyan,
child: Material(
elevation: 8.0,
shape: const CircleBorder(),
child: CircleAvatar(
backgroundColor: Colors.grey[100],
radius: 30.0,
child: Image.asset(
'assets/images/dart.png',
height: 50,
),
),
),
)
https://github.com/apgapg/avatar_glow/assets/13239043/2029e508-6f5d-467c-9e55-add99d568ee7
Description
Type of Change
- [x] โจ New feature (non-breaking change which adds functionality)
- [ ] ๐ ๏ธ Bug fix (non-breaking change which fixes an issue)
- [ ] โ Breaking change (fix or feature that would cause existing functionality to change)
- [ ] ๐งน Code refactor
- [ ] โ Build configuration change
- [ ] ๐ Documentation
- [ ] ๐๏ธ Chore