Skip to content

Commit cb3a03d

Browse files
committed
docs: add docs for PieChart sectionOffset
Signed-off-by: Jonas Klock <jonas.klock@exxeta.com>
1 parent d4af155 commit cb3a03d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

repo_files/documentations/pie_chart.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ When you change the chart's state, it animates to the new state internally (usin
3737
|color| colors the section| Colors.red|
3838
|gradient| You can use any [Gradient](https://api.flutter.dev/flutter/dart-ui/Gradient-class.html) here. such as [LinearGradient](https://api.flutter.dev/flutter/painting/LinearGradient-class.html) or [RadialGradient](https://api.flutter.dev/flutter/painting/RadialGradient-class.html) (you have to provide either `color` or `gradient`)|null|
3939
|radius| the width radius of each section|40|
40+
|sectionOffset| radial translation (in logical pixels) applied to the whole section, moving it outward along its center angle. Useful for "exploded" pie charts|0|
4041
|showTitle| determines whether to show or hide the titles on each section|true|
4142
|titleStyle| TextStyle of the titles| TextStyle(color: Colors.white, fontSize: 16, fontWeight: FontWeight.bold)|
4243
|title| title of the section| value|

0 commit comments

Comments
 (0)