HeatmapGradient constructor

HeatmapGradient(
  1. {@required List<Color> colors,
  2. @required List<double> startPoints,
  3. int colorMapSize = 256}
)

Creates an immutable object representing a HeatmapGradient

Implementation

HeatmapGradient({
  @required this.colors,
  @required this.startPoints,
  this.colorMapSize = 256,
});