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