PrismSparkline constructor

const PrismSparkline({
  1. Key? key,
  2. required List<double> values,
  3. double width = 96,
  4. double height = 28,
  5. Color? color,
  6. PrismSemantic? semantic,
  7. bool fill = true,
  8. double strokeWidth = 2,
  9. String? semanticLabel,
})

Creates a sparkline. Requires at least two values.

Implementation

const PrismSparkline({
  super.key,
  required this.values,
  this.width = 96,
  this.height = 28,
  this.color,
  this.semantic,
  this.fill = true,
  this.strokeWidth = 2,
  this.semanticLabel,
});