Skip to main content
Version: 3.0.0

ArcLabelDecorator

insideLabelStyle

Typedefault
LabelStyle?const
default
const LabelStyle(
fontSize: 12,
color: Colors.white,
)

Configures TextStyleSpec for labels placed inside the arcs.

outsideLabelStyle

Typedefault
LabelStyle?const
default
const LabelStyle(
fontSize: 12,
color: Colors.black,
)

Configures TextStyleSpec for labels placed outside the arcs.

leaderLineStyle

Typedefault
ArcLabelLeaderLineStyle?const
default
const ArcLabelLeaderLineStyle(
color: Colors.black,
length: 20.0,
thickness: 1.0,
)

Configures TextStyleSpec for labels placed outside the arcs.

labelPosition

Typedefault
ArcLabelPositionArcLabelPosition.auto

Configures where to place the label relative to the arcs.

labelPadding

Typedefault
int5

Space before and after the label text.

alt alt

showLeaderLines

Typedefault
booltrue

Whether or not to draw leader lines for labels placed outside the arcs.

alt alt