void to(num targetValue)

Animate the property from the current value to a given target value.

Source

void to(num targetValue) {
  _targetValue = targetValue.toDouble();
}