RangeAnnotations constructor

const RangeAnnotations({
  1. List<HorizontalRangeAnnotation> horizontalRangeAnnotations = const [],
  2. List<VerticalRangeAnnotation> verticalRangeAnnotations = const [],
})

Axis based charts can annotate some horizontal and vertical regions, using horizontalRangeAnnotations, and verticalRangeAnnotations respectively.

Implementation

const RangeAnnotations({
  this.horizontalRangeAnnotations = const [],
  this.verticalRangeAnnotations = const [],
});