Skip to main content

Property

arcLabelDecorator

TypeNameDefault
ArcLabelDecorator?arcLabelDecoratornull

Decorating pie item labels


arcLength

TypeNameDefault
doublearcLength2 * pi
(pi from dart:math)

Total arc length, in radians.
2π = Full

FullThree Quarter
fullthree_quarter.png
HalfQuarter
halfquarter

arcRatio

TypeNameDefault
double?arcRationull

If set, configure arcWidth to be a percentage of radius.
Must be between 0 and 1

0.50.2
arcratio_0_5arcRatio_0_2

arcWidth

TypeNameDefault
int?arcWidthnull

Sets the arc width in radius. If arcRatio is set, this value will be ignored.

40
arcWidth_40

startAngle

TypeNameDefault
doublestartAngle-pi / 2

The initial angle for the pie slice, in radians. The angle is determined from the positive x-axis in Cartesian space.
The default initial angle is -π/2

default-pi / 1
startAngle_defaultstartAngle_min_pi_slice_1

strokeWidthPx

TypeNameDefault
doublestrokeWidthPx2.0

Stroke width at arc boundary

strokeWidthPx