barLabelPosition static method

BarLabelPosition barLabelPosition(
  1. BarLabelPosition? type
)

Implementation

static common.BarLabelPosition barLabelPosition(BarLabelPosition? type) {
  switch (type) {
    case BarLabelPosition.inside:
      return common.BarLabelPosition.inside;
    case BarLabelPosition.outside:
      return common.BarLabelPosition.outside;
    case BarLabelPosition.right:
      return common.BarLabelPosition.right;
    default:
      return common.BarLabelPosition.auto;
  }
}