TapParticle constructor
const
TapParticle({
- double size = 50,
- Widget? child,
- AnimationController? syncAnimation,
- AnimationController? controller,
- int particleCount = 8,
- Duration duration = const Duration(milliseconds: 500),
- double? particleLength,
- Color color = Colors.yellow,
- 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), '');