Skip to content

Commit

Permalink
Merge pull request #392 from imaNNeoFighT/improvement/pie-chart-requi…
Browse files Browse the repository at this point in the history
…red-radius

PieChartData set default centerSpaceRadius to double.infinity, #384.
  • Loading branch information
imaNNeo authored Jul 10, 2020
2 parents 60ae0ff + ab8586b commit 3e4e969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/chart/pie_chart/pie_chart_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class PieChartData extends BaseChartData with EquatableMixin {
PieTouchData pieTouchData,
FlBorderData borderData,
}) : sections = sections ?? const [],
centerSpaceRadius = centerSpaceRadius ?? double.nan,
centerSpaceRadius = centerSpaceRadius ?? double.infinity,
centerSpaceColor = centerSpaceColor ?? Colors.transparent,

/// we've disabled `groupSpace` on web, because some BlendModes are [not working](https://github.com/flutter/flutter/issues/56071) yet
Expand Down

0 comments on commit 3e4e969

Please sign in to comment.