SpriteAnimationComponent constructor
SpriteAnimationComponent({
- SpriteAnimation? animation,
- bool? autoResize,
- bool removeOnFinish = false,
- bool playing = true,
- bool resetOnRemove = false,
- Paint? paint,
- Vector2? position,
- Vector2? size,
- Vector2? scale,
- double? angle,
- double nativeAngle = 0,
- Anchor? anchor,
- Iterable<
Component> ? children, - int? priority,
- ComponentKey? key,
Creates a component with an empty animation which can be set later