ArcLabelDecorator
insideLabelStyle
| Type | default |
|---|---|
| LabelStyle? | const |
default
const LabelStyle(
fontSize: 12,
color: Colors.white,
)
Configures TextStyleSpec for labels placed inside the arcs.
outsideLabelStyle
| Type | default |
|---|---|
| LabelStyle? | const |
default
const LabelStyle(
fontSize: 12,
color: Colors.black,
)
Configures TextStyleSpec for labels placed outside the arcs.
leaderLineStyle
| Type | default |
|---|---|
| ArcLabelLeaderLineStyle? | const |
default
const ArcLabelLeaderLineStyle(
color: Colors.black,
length: 20.0,
thickness: 1.0,
)
Configures TextStyleSpec for labels placed outside the arcs.
labelPosition
| Type | default |
|---|---|
| ArcLabelPosition | ArcLabelPosition.auto |
Configures where to place the label relative to the arcs.
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.