ChartLineLayer constructor
const
ChartLineLayer({})
Creates a new instance of ChartLineLayer with the specified parameters.
The items parameter is required and represents the list of points to connect with lines.
The positiveColor and negativeColor define the colors for positive and negative values respectively.
The lineWidth specifies the width of the line (default is 1).
The dashArray is an optional list of values defining the dash pattern for the line.
Implementation
const ChartLineLayer({
required super.items,
required this.positiveColor,
required this.negativeColor,
this.lineWidth = 1,
this.dashArray,
});