File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
example/lib/presentation/samples/stacked_pie
lib/src/chart/stacked_pie_chart Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,14 @@ class _StackedPieChartSample1State extends State<StackedPieChartSample1> {
1212 @override
1313 Widget build (BuildContext context) {
1414 return const AspectRatio (
15- aspectRatio: 1.3 ,
15+ aspectRatio: 1.0 ,
1616 child: Column (
1717 children: < Widget > [
1818 SizedBox (height: 28 ),
1919 Expanded (
20- child: AspectRatio (
21- aspectRatio: 1 ,
22- child: StackedPieDemo (),
23- ),
20+ child: StackedPieDemo (),
2421 ),
22+ SizedBox (height: 28 ),
2523 ],
2624 ),
2725 );
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class StackedPieChartData extends BaseChartData with EquatableMixin {
3232 FlBorderData ? borderData,
3333 bool ? titleSunbeamLayout,
3434 }) : sections = sections ?? const [],
35- centerSpaceRadius = centerSpaceRadius ?? double .infinity ,
35+ centerSpaceRadius = centerSpaceRadius ?? 16 ,
3636 centerSpaceColor = centerSpaceColor ?? Colors .transparent,
3737 sectionsSpace = sectionsSpace ?? 2 ,
3838 startDegreeOffset = startDegreeOffset ?? 0 ,
You can’t perform that action at this time.
0 commit comments