SunburstArcLabelDecorator<D extends Object> constructor
SunburstArcLabelDecorator<D extends Object> ({
- TextStyleSpec? insideLabelStyleSpec,
- TextStyleSpec? outsideLabelStyleSpec,
- ArcLabelLeaderLineStyleSpec? leaderLineStyleSpec,
- int labelPadding = _defaultLabelPadding,
- bool showLeaderLines = _defaultShowLeaderLines,
- bool extendLeaderLine = false,
- ArcLabelPosition innerRingArcLabelPosition = ArcLabelPosition.inside,
- ArcLabelPosition innerRingLeafArcLabelPosition = ArcLabelPosition.inside,
- ArcLabelPosition outerRingArcLabelPosition = ArcLabelPosition.auto,
Implementation
SunburstArcLabelDecorator({
super.insideLabelStyleSpec,
super.outsideLabelStyleSpec,
super.leaderLineStyleSpec,
super.labelPadding,
super.showLeaderLines,
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(
labelPosition: ArcLabelPosition.auto,
);