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.
Implementation
const ChartAreaLayer({
required super.items,
required this.positiveColor,
required this.negativeColor,
});