VerticalRangeAnnotation constructor
VerticalRangeAnnotation({})
Annotates a vertical region from most bottom to most top point of the chart, and
from x1 to x2, and fills the area with color
or gradient.
Implementation
VerticalRangeAnnotation({
required this.x1,
required this.x2,
Color? color,
this.gradient,
}) : color = color ??
((color == null && gradient == null) ? Colors.white : null);