it's working on SingleChildScrollView , it works very well
but with floatingbutton is won't glow at all... I changed animated:true but also not working at all
SingleChildScrollView(
reverse: true,
child: Container(
padding: const EdgeInsets.fromLTRB(30.0, 30.0, 30.0, 150.0),
child: AvatarGlow(
glowColor: Colors.blue,
endRadius: 90.0,
duration: Duration(milliseconds: 2000),
repeat: true,
showTwoGlows: true,
repeatPauseDuration: Duration(milliseconds: 100),
child: Material(
// Replace this child with your own
elevation: 8.0,
shape: CircleBorder(),
child: CircleAvatar(
backgroundColor: Colors.grey[100],
child: Text("abc"),
radius: 40.0,
),
),
),
),
)
but with floating button it won't work
floatingActionButton: AvatarGlow(
animate: true,
glowColor: Colors.red,
endRadius: 90.0,
duration: Duration(milliseconds: 2000),
repeat: true,
showTwoGlows: true,
repeatPauseDuration: Duration(milliseconds: 100),
child: FloatingActionButton(
onPressed: () {},
tooltip: 'Floating',
child: const Icon(Icons.mic),
)),