From 4a2b248034bbce0f5873bf3d1fadfa09c4eac4ce Mon Sep 17 00:00:00 2001 From: John Castronuovo Date: Mon, 22 Mar 2021 17:58:31 +0100 Subject: [PATCH] refactor(line_chart): switch InlineSpan to TextSpan --- lib/src/chart/line_chart/line_chart_data.dart | 4 ++-- repo_files/documentations/line_chart.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/chart/line_chart/line_chart_data.dart b/lib/src/chart/line_chart/line_chart_data.dart index 72e56e541..c95f440b5 100644 --- a/lib/src/chart/line_chart/line_chart_data.dart +++ b/lib/src/chart/line_chart/line_chart_data.dart @@ -1552,8 +1552,8 @@ class LineTooltipItem with EquatableMixin { /// Align of showing text. 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] as a row in the tooltip popup. LineTooltipItem( diff --git a/repo_files/documentations/line_chart.md b/repo_files/documentations/line_chart.md index e905fa411..7e0399be0 100644 --- a/repo_files/documentations/line_chart.md +++ b/repo_files/documentations/line_chart.md @@ -192,7 +192,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| |textAlign|[TextStyle](https://api.flutter.dev/flutter/dart-ui/TextAlign-class.html) of the showing text row|TextAlign.center| -|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| ### TouchedSpotIndicatorData |PropName|Description|default value|