ArcLabelDecorator constructor
ArcLabelDecorator({
- LabelStyle insideLabelStyle = const LabelStyle(fontSize: 12, color: Colors.white),
- LabelStyle outsideLabelStyle = const LabelStyle(fontSize: 12, color: Colors.black),
- ArcLabelLeaderLineStyle leaderLineStyle = const ArcLabelLeaderLineStyle(color: Colors.black, length: 20.0, thickness: 1.0),
- ArcLabelPosition labelPosition = ArcLabelPosition.auto,
- int labelPadding = 5,
- bool showLeaderLines = true,
Implementation
ArcLabelDecorator({
this.insideLabelStyle = const LabelStyle(
fontSize: 12,
color: Colors.white,
),
this.outsideLabelStyle = const LabelStyle(
fontSize: 12,
color: Colors.black,
),
this.leaderLineStyle = const ArcLabelLeaderLineStyle(
color: Colors.black,
length: 20.0,
thickness: 1.0,
),
this.labelPosition = ArcLabelPosition.auto,
this.labelPadding = 5,
this.showLeaderLines = true,
});