Showing
2 changed files
with
2 additions
and
2 deletions
@@ -160,7 +160,7 @@ abstract class Dataset extends Widget { | @@ -160,7 +160,7 @@ abstract class Dataset extends Widget { | ||
160 | 160 | ||
161 | void paintBackground(Context context) {} | 161 | void paintBackground(Context context) {} |
162 | 162 | ||
163 | - Widget legendeShape() { | 163 | + Widget legendShape() { |
164 | return Container( | 164 | return Container( |
165 | decoration: BoxDecoration( | 165 | decoration: BoxDecoration( |
166 | color: color, | 166 | color: color, |
@@ -57,7 +57,7 @@ class ChartLegend extends StatelessWidget { | @@ -57,7 +57,7 @@ class ChartLegend extends StatelessWidget { | ||
57 | width: style.fontSize, | 57 | width: style.fontSize, |
58 | height: style.fontSize, | 58 | height: style.fontSize, |
59 | margin: const EdgeInsets.only(right: 5), | 59 | margin: const EdgeInsets.only(right: 5), |
60 | - child: dataset.legendeShape(), | 60 | + child: dataset.legendShape(), |
61 | ), | 61 | ), |
62 | Text( | 62 | Text( |
63 | dataset.legend, | 63 | dataset.legend, |
-
Please register or login to post a comment