SpriteAnimationGroupComponent<T> constructor
SpriteAnimationGroupComponent<T> ({
- Map<
T, SpriteAnimation> ? animations, - T? current,
- bool? autoResize,
- bool playing = true,
- Map<
T, bool> removeOnFinish = const {}, - bool autoResetTicker = true,
- 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