particleDrag property

double particleDrag
final

An optional parameter to specify drag force, effecting the movement of the confetti.

Using 1.0 will give no drag at all, while, for example, using 0.1 will give a lot of drag. Default is set to 0.05.

Implementation

final double particleDrag;