value property

double get value

Gets and sets the value assigned to RenderLinearPointerBase.

Implementation

double get value => _value;
set value (double value)

Implementation

set value(double value) {
  if (value == _value) {
    return;
  }
  if (animationController != null && animationController!.isAnimating) {
    oldValue = _value;
    animationController!.stop();
  }
  _value = value;
  if (animationController != null && oldValue != value) {
    animationController!.forward(from: 0.01);
  }
  markNeedsLayout();
}