child is icon and it is in animation constructor with child param.
const AnimationBuilder({Key? key, required this.child}) : super(key: key);