diff --git a/lib/src/chart/bar_chart/bar_chart_data.dart b/lib/src/chart/bar_chart/bar_chart_data.dart index 9a85a6328..70fd27580 100644 --- a/lib/src/chart/bar_chart/bar_chart_data.dart +++ b/lib/src/chart/bar_chart/bar_chart_data.dart @@ -302,7 +302,7 @@ class BarChartRodData with EquatableMixin { /// If you are a fan of stacked charts (If you don't know what is it, google it), /// you can fill up the [rodStackItems] to have a Stacked Chart. /// for example if you want to have a Stacked Chart with three colors: - /// ``` + /// ```dart /// BarChartRodData( /// y: 9, /// color: Colors.grey, @@ -446,7 +446,7 @@ class BarChartRodData with EquatableMixin { class BarChartRodStackItem with EquatableMixin { /// Renders a section of Stacked Chart from [fromY] to [toY] with [color] /// for example if you want to have a Stacked Chart with three colors: - /// ``` + /// ```dart /// BarChartRodData( /// y: 9, /// color: Colors.grey, diff --git a/lib/src/chart/base/axis_chart/axis_chart_data.dart b/lib/src/chart/base/axis_chart/axis_chart_data.dart index 78ca3007d..a6064b737 100644 --- a/lib/src/chart/base/axis_chart/axis_chart_data.dart +++ b/lib/src/chart/base/axis_chart/axis_chart_data.dart @@ -1241,7 +1241,7 @@ class VerticalLineLabel extends FlLineLabel with EquatableMixin { /// Holds data for showing a vector image inside the chart. /// /// for example: -/// ``` +/// ```dart /// Future loadSvg() async { /// const String rawSvg = 'your svg string'; /// final DrawableRoot svgRoot = await svg.fromSvgString(rawSvg, rawSvg); @@ -1253,7 +1253,7 @@ class SizedPicture with EquatableMixin { /// [picture] is the showing image, /// it can retrieve from a svg icon, /// for example: - /// ``` + /// ```dart /// const String rawSvg = 'your svg string'; /// final DrawableRoot svgRoot = await svg.fromSvgString(rawSvg, rawSvg); /// final picture = svgRoot.toPicture() diff --git a/pubspec.yaml b/pubspec.yaml index e668c0773..2c8058f95 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -25,7 +25,7 @@ dev_dependencies: sdk: flutter mockito: ^5.4.2 vector_math: ^2.1.4 #Added to use in some generated codes of mockito - very_good_analysis: ^5.1.0 + very_good_analysis: ^6.0.0 screenshots: - description: 'FL Chart Logo'