BarLabelDecorator<D> constructor
BarLabelDecorator<D> ({
- TextStyleSpec? insideLabelStyleSpec,
- TextStyleSpec? outsideLabelStyleSpec,
- BarLabelAnchor? labelAnchor,
- BarLabelPosition labelPosition = _defaultLabelPosition,
- BarLabelPlacement labelPlacement = _defaultLabelPlacement,
- int labelPadding = _defaultLabelPadding,
Implementation
BarLabelDecorator(
{TextStyleSpec? insideLabelStyleSpec,
TextStyleSpec? outsideLabelStyleSpec,
this.labelAnchor,
this.labelPosition = _defaultLabelPosition,
this.labelPlacement = _defaultLabelPlacement,
this.labelPadding = _defaultLabelPadding})
: insideLabelStyleSpec = insideLabelStyleSpec ?? _defaultInsideLabelStyle,
outsideLabelStyleSpec =
outsideLabelStyleSpec ?? _defaultOutsideLabelStyle;