lineAnnotation function
Creates a LineAnnotation widget.
Implementation
Widget lineAnnotation({
Key? key,
required dynamic scale,
required dynamic value,
required double width,
required double height,
LineAnnotationConfig config = const LineAnnotationConfig(),
String? label,
TextStyle? labelStyle,
Offset labelOffset = const Offset(4, -4),
}) {
return LineAnnotation(
key: key,
scale: scale,
value: value,
width: width,
height: height,
config: config,
label: label,
labelStyle: labelStyle,
labelOffset: labelOffset,
);
}