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,
  7. BarLabelVerticalPosition? labelVerticalPosition = _defaultlabelVerticalPosition,
})

Implementation

BarLabelDecorator({
  TextStyleSpec? insideLabelStyleSpec,
  TextStyleSpec? outsideLabelStyleSpec,
  this.labelAnchor,
  this.labelPosition = _defaultLabelPosition,
  this.labelPlacement = _defaultLabelPlacement,
  this.labelPadding = _defaultLabelPadding,
  this.labelVerticalPosition = _defaultlabelVerticalPosition,
})  : insideLabelStyleSpec = insideLabelStyleSpec ?? _defaultInsideLabelStyle,
      outsideLabelStyleSpec =
          outsideLabelStyleSpec ?? _defaultOutsideLabelStyle;