ArcLabelDecorator<D> constructor

ArcLabelDecorator<D>({
  1. TextStyleSpec? insideLabelStyleSpec,
  2. TextStyleSpec? outsideLabelStyleSpec,
  3. ArcLabelLeaderLineStyleSpec? leaderLineStyleSpec,
  4. ArcLabelPosition labelPosition = _defaultLabelPosition,
  5. int labelPadding = _defaultLabelPadding,
  6. bool showLeaderLines = _defaultShowLeaderLines,
  7. Color? leaderLineColor,
})

Implementation

ArcLabelDecorator(
    {TextStyleSpec? insideLabelStyleSpec,
    TextStyleSpec? outsideLabelStyleSpec,
    ArcLabelLeaderLineStyleSpec? leaderLineStyleSpec,
    this.labelPosition = _defaultLabelPosition,
    this.labelPadding = _defaultLabelPadding,
    this.showLeaderLines = _defaultShowLeaderLines,
    Color? leaderLineColor})
    : insideLabelStyleSpec = insideLabelStyleSpec ?? _defaultInsideLabelStyle,
      outsideLabelStyleSpec =
          outsideLabelStyleSpec ?? _defaultOutsideLabelStyle,
      leaderLineStyleSpec = leaderLineStyleSpec ?? _defaultLeaderLineStyle;