FitGridCellVisualSpec.sparkline constructor

const FitGridCellVisualSpec.sparkline({
  1. required List<double> points,
  2. bool filled = false,
  3. Color? color,
})

A line through points, each 0 at the bottom of the cell and 1 at the top, spaced evenly across it.

Implementation

const FitGridCellVisualSpec.sparkline({
  required this.points,
  this.filled = false,
  this.color,
}) : kind = FitGridVisualKind.sparkline,
     from = 0,
     to = 0,
     negative = false;