Sparkline constructor
const
Sparkline(
- Iterable<
double> data, { - double max = 1.0,
- ProgressDirection direction = ProgressDirection.leftToRight,
- ProgressBarType barType = ProgressBarType.braille,
- ProgressColors colorBuilder(])?,
- Style style = Style.empty,
Creates a Sparkline.
Implementation
const Sparkline(
this.data, {
this.max = 1.0,
this.direction = ProgressDirection.leftToRight,
this.barType = ProgressBarType.braille,
this.colorBuilder,
this.style = Style.empty,
});