ArcLabelDecorator
insideLabelStyle
Type | Default |
---|---|
LabelStyle | LabelStyle(fontSize: 12,color: Colors.white) |
Configures [TextStyleSpec] for labels placed inside the arcs.
outsideLabelStyle
Type | Default |
---|---|
LabelStyle | LabelStyle(fontSize: 12,color: Colors.white) |
Configures [TextStyleSpec] for labels placed outside the arcs.
leaderLineStyle
Type | Default |
---|---|
ArcLabelLeaderLineStyle | ArcLabelLeaderLineStyle(color: Colors.black,length: 20.0,thickness: 1.0) |
Configures [ArcLabelLeaderLineStyleSpec] for leader lines for labels placed outside the arcs.
labelPosition
Type | Default |
---|---|
ArcLabelPosition | ArcLabelPosition.auto |
Configures where to place the label relative to the arcs.
enum ArcLabelPosition {
/// Automatically try to place the label inside the arc first and place it on
/// the outside of the space available outside the arc is greater than space
/// available inside the arc.
auto,
/// Always place label on the outside.
outside,
/// Always place label on the inside.
inside
}
labelPadding
Type | Default |
---|---|
int | 5 |
Space before and after the label text.
showLeaderLines
Type | Default |
---|---|
bool | true |
Whether or not to draw leader lines for labels placed outside the arcs.