AnimationData constructor

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

Implementation

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