HeatmapGradient constructor

const HeatmapGradient(
  1. List<HeatmapGradientColor> colors, {
  2. int colorMapSize = 256,
})

Creates a new HeatmapGradient object.

Implementation

const HeatmapGradient(
  this.colors, {
  this.colorMapSize = 256,
});