SpriteAnimationParticle constructor

SpriteAnimationParticle({
  1. required SpriteAnimation animation,
  2. Vector2? size,
  3. Paint? overridePaint,
  4. double? lifespan,
  5. bool alignAnimationTime = true,
})

Implementation

SpriteAnimationParticle({
  required this.animation,
  this.size,
  this.overridePaint,
  double? lifespan,
  this.alignAnimationTime = true,
}) : super(
        lifespan: lifespan,
      );