ChartText constructor
const
ChartText({
- Key? key,
- required String text,
- double x = 0,
- double y = 0,
- TextStyle? style,
- TextAnchor anchor = TextAnchor.start,
- TextBaseline baseline = TextBaseline.alphabetic,
- double rotation = 0,
- double? maxWidth,
Creates a chart text widget.
Implementation
const ChartText({
super.key,
required this.text,
this.x = 0,
this.y = 0,
this.style,
this.anchor = TextAnchor.start,
this.baseline = TextBaseline.alphabetic,
this.rotation = 0,
this.maxWidth,
});