SunburstArcLabelDecorator<D extends Object> constructor

SunburstArcLabelDecorator<D extends Object>({
  1. TextStyleSpec? insideLabelStyleSpec,
  2. TextStyleSpec? outsideLabelStyleSpec,
  3. ArcLabelLeaderLineStyleSpec? leaderLineStyleSpec,
  4. int labelPadding = _defaultLabelPadding,
  5. bool showLeaderLines = _defaultShowLeaderLines,
  6. bool extendLeaderLine = false,
  7. ArcLabelPosition innerRingArcLabelPosition = ArcLabelPosition.inside,
  8. ArcLabelPosition innerRingLeafArcLabelPosition = ArcLabelPosition.inside,
  9. 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,
      );