ParticleRenderDelegate typedef

ParticleRenderDelegate = void Function(Canvas c, Particle particle)

A function which should render desired contents onto a given canvas. External state needed for rendering should be stored elsewhere, so that this delegate could use it

Implementation

typedef ParticleRenderDelegate = void Function(Canvas c, Particle particle);