ArcLabelDecorator<D extends Object> constructor

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

Implementation

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