AnimationData({ required this.key, required this.frames, required this.speed, required this.loop, });