TapParticle constructor

const TapParticle({
  1. double size = 50,
  2. Widget? child,
  3. AnimationController? syncAnimation,
  4. AnimationController? controller,
  5. int particleCount = 8,
  6. Duration duration = const Duration(milliseconds: 500),
  7. double? particleLength,
  8. Color color = Colors.yellow,
  9. Key? key,
})

Implementation

const TapParticle({
  this.size = 50,
  this.child,
  this.syncAnimation,
  this.controller,
  this.particleCount = 8,
  this.duration = const Duration(milliseconds: 500),
  this.particleLength,
  this.color = Colors.yellow,
  super.key,
}) : assert(!(syncAnimation != null && controller != null), '');