Skip to content

Commit

Permalink
Merge pull request #574 from bdlukaa/dev
Browse files Browse the repository at this point in the history
Fixes 'Build function can not return null'
  • Loading branch information
imaNNeo authored Feb 17, 2021
2 parents 2629fdd + 97f263d commit ee19025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/chart/pie_chart/pie_chart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ class _PieChartState extends AnimatedWidgetBaseState<PieChart> {
}
}

return null;
return SizedBox();
}

bool _canHandleTouch(PieTouchResponse response, PieTouchData touchData) {
Expand Down

0 comments on commit ee19025

Please sign in to comment.