SunburstArcLabelDecorator<D> constructor

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