position property

ValueBarPosition position
final

The position sets the position of the ValueBar in the LinearGauge. The ValueBarPosition can be top, bottom or center. The default value of position is ValueBarPosition.center.

const LinearGauge(
  valueBar: [
    ValueBar(
      value: 50,
      position: ValueBarPosition.top,
     ),
  ],
),

Implementation

final ValueBarPosition position;