ParticleCurve.constant constructor

ParticleCurve.constant(
  1. double value
)

A curve that is value everywhere.

Implementation

ParticleCurve.constant(double value)
  : this(<ParticleKeyframe>[ParticleKeyframe(0, value)], resolution: 2);