SpriteAnimationGroupComponent<T> constructor

SpriteAnimationGroupComponent<T>({
  1. Map<T, SpriteAnimation>? animations,
  2. T? current,
  3. bool? autoResize,
  4. bool playing = true,
  5. Map<T, bool> removeOnFinish = const {},
  6. bool autoResetTicker = true,
  7. Paint? paint,
  8. Vector2? position,
  9. Vector2? size,
  10. Vector2? scale,
  11. double? angle,
  12. double nativeAngle = 0,
  13. Anchor? anchor,
  14. Iterable<Component>? children,
  15. int? priority,
  16. ComponentKey? key,
})

Creates a component with an empty animation which can be set later