ChartAreaLayer constructor
const
ChartAreaLayer({})
Creates a new instance of ChartAreaLayer with the specified parameters.
The items parameter is required and represents the list of points defining the area.
The positiveColor and negativeColor define the colors for positive and negative areas respectively.
The smoothness is an optional value to smooth the line.
Implementation
const ChartAreaLayer({
required super.items,
required this.positiveColor,
required this.negativeColor,
this.smoothness,
});