draw abstract method

void draw(
  1. Canvas canvas,
  2. double currentProgress,
  3. AnimatedParticle animatedParticle
)

Draws the trail on the canvas using the given currentProgress and animatedParticle.

Subclasses should implement this method to provide their specific drawing behavior.

Implementation

void draw(
  Canvas canvas,
  double currentProgress,
  AnimatedParticle animatedParticle,
);