ArcLabelDecorator<D> constructor
ArcLabelDecorator<D> ({
- TextStyleSpec? insideLabelStyleSpec,
- TextStyleSpec? outsideLabelStyleSpec,
- ArcLabelLeaderLineStyleSpec? leaderLineStyleSpec,
- ArcLabelPosition labelPosition = _defaultLabelPosition,
- int labelPadding = _defaultLabelPadding,
- bool showLeaderLines = _defaultShowLeaderLines,
- 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;