SunburstArcLabelDecorator<D> constructor
SunburstArcLabelDecorator<D> ({
- TextStyleSpec? insideLabelStyleSpec,
- TextStyleSpec? outsideLabelStyleSpec,
- ArcLabelLeaderLineStyleSpec? leaderLineStyleSpec,
- int labelPadding = 5,
- bool showLeaderLines = true,
- Color? leaderLineColor,
- bool extendLeaderLine = false,
- ArcLabelPosition innerRingArcLabelPosition = ArcLabelPosition.inside,
- ArcLabelPosition innerRingLeafArcLabelPosition = ArcLabelPosition.inside,
- ArcLabelPosition outerRingArcLabelPosition = ArcLabelPosition.auto,
Implementation
SunburstArcLabelDecorator(
{TextStyleSpec? insideLabelStyleSpec,
TextStyleSpec? outsideLabelStyleSpec,
ArcLabelLeaderLineStyleSpec? leaderLineStyleSpec,
int labelPadding = 5,
bool showLeaderLines = true,
Color? leaderLineColor,
this.extendLeaderLine = false,
// TODO: Change to auto when we can detect collision of inner
// arcs' label with outer arcs.
this.innerRingArcLabelPosition = ArcLabelPosition.inside,
// TODO: Change to auto when we can detect collision of inner
// arcs' label with outer arcs.
this.innerRingLeafArcLabelPosition = ArcLabelPosition.inside,
this.outerRingArcLabelPosition = ArcLabelPosition.auto})
: super(
insideLabelStyleSpec: insideLabelStyleSpec,
outsideLabelStyleSpec: outsideLabelStyleSpec,
leaderLineStyleSpec: leaderLineStyleSpec,
labelPosition: ArcLabelPosition.auto,
labelPadding: labelPadding,
showLeaderLines: showLeaderLines,
leaderLineColor: leaderLineColor);