BarLabelDecorator<D> constructor

BarLabelDecorator<D>({
  1. TextStyleSpec? insideLabelStyleSpec,
  2. TextStyleSpec? outsideLabelStyleSpec,
  3. BarLabelAnchor? labelAnchor,
  4. BarLabelPosition labelPosition = _defaultLabelPosition,
  5. BarLabelPlacement labelPlacement = _defaultLabelPlacement,
  6. 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;