PaintParticle constructor

PaintParticle({
  1. required Particle child,
  2. required Paint paint,
  3. Rect bounds = const Rect.fromLTRB(-50, -50, 50, 50),
  4. double? lifespan,
})

Implementation

PaintParticle({
  required this.child,
  required this.paint,

  // Reasonably large rect for most particles
  this.bounds = const Rect.fromLTRB(-50, -50, 50, 50),
  double? lifespan,
}) : super(
        lifespan: lifespan,
      );