ColorRamp constructor

ColorRamp(
  1. List<Color> colors, {
  2. List<double>? stops,
})

Creates a ramp that interpolates through colors over the particle's lifetime.

stops optionally positions each color on the 0...1 life progress axis; when omitted the colors are spaced evenly.