NiceSparkline constructor

const NiceSparkline({
  1. Key? key,
  2. required List<double> data,
  3. double width = 120,
  4. double height = 30,
  5. NiceSparklineType type = NiceSparklineType.line,
  6. Color? color,
  7. bool showMinMax = false,
  8. bool showLastPoint = true,
})

Implementation

const NiceSparkline({
  super.key,
  required this.data,
  this.width = 120,
  this.height = 30,
  this.type = NiceSparklineType.line,
  this.color,
  this.showMinMax = false,
  this.showLastPoint = true,
});