AnimationData constructor

AnimationData({
  1. required String key,
  2. required List<Rect> frames,
  3. required double speed,
  4. required bool loop,
})

Implementation

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