diff --git a/lib/src/chart/scatter_chart/scatter_chart_data.dart b/lib/src/chart/scatter_chart/scatter_chart_data.dart index 75a1ed030..e511c35f0 100644 --- a/lib/src/chart/scatter_chart/scatter_chart_data.dart +++ b/lib/src/chart/scatter_chart/scatter_chart_data.dart @@ -441,8 +441,8 @@ class ScatterTooltipItem with EquatableMixin { /// TextAlign of the showing content. final TextAlign textAlign; - /// List add further style and format to the text of the tooltip - final List? children; + /// List add further style and format to the text of the tooltip + final List? children; /// Shows a [text] with [textStyle] and optional [children] in the tooltip popup, /// [bottomMargin] is the bottom space from spot. @@ -451,7 +451,7 @@ class ScatterTooltipItem with EquatableMixin { TextStyle textStyle, double bottomMargin, { TextAlign textAlign = TextAlign.center, - List? children, + List? children, }) : text = text, textStyle = textStyle, bottomMargin = bottomMargin, diff --git a/repo_files/documentations/scatter_chart.md b/repo_files/documentations/scatter_chart.md index dcca23f6d..964ec5738 100644 --- a/repo_files/documentations/scatter_chart.md +++ b/repo_files/documentations/scatter_chart.md @@ -62,7 +62,7 @@ When you change the chart's state, it animates to the new state internally (usin |text|text string of each row in the tooltip bubble|null| |textStyle|[TextStyle](https://api.flutter.dev/flutter/dart-ui/TextStyle-class.html) of the showing text row|null| |bottomMargin| bottom margin of the tooltip (to the top of most top spot) | radius / 2| -|children|[List](https://api.flutter.dev/flutter/painting/InlineSpan-class.html) pass additional InlineSpan children for a more advance tooltip|null| +|children|[List](https://api.flutter.dev/flutter/painting/InlineSpan-class.html) pass additional InlineSpan children for a more advance tooltip|null| ### ScatterTouchResponse