verticalBand function
Creates a vertical area annotation (band).
Implementation
Widget verticalBand({
Key? key,
required dynamic scale,
required dynamic startValue,
required dynamic endValue,
required double width,
required double height,
Color fillColor = const Color(0xFF666666),
double fillOpacity = 0.2,
bool showBorder = false,
String? label,
TextStyle? labelStyle,
}) {
return AreaAnnotation(
key: key,
scale: scale,
startValue: startValue,
endValue: endValue,
width: width,
height: height,
config: AreaAnnotationConfig(
fillColor: fillColor,
fillOpacity: fillOpacity,
showBorder: showBorder,
orientation: AnnotationOrientation.vertical,
),
label: label,
labelStyle: labelStyle,
);
}