SparkLineDecoration constructor
SparkLineDecoration({})
Constructor for sparkline decoration
Implementation
SparkLineDecoration({
this.id,
this.fill = false,
bool smoothPoints = false,
this.lineWidth = 1.0,
this.lineColor = Colors.red,
this.startPosition = 0.5,
this.gradient,
this.listIndex = 0,
this.dashArray,
bool stretchLine = false,
}) : _smoothPoints = smoothPoints ? 1.0 : 0.0,
_stretchLine = stretchLine ? 1.0 : 0.0;