setProperty method

  1. @override
void setProperty(
  1. Object? property,
  2. double targetValue
)
override

Sets the current value property of GTweenableColor by lerping between the target Color and _targetColor using the given targetValue.

Implementation

@override
void setProperty(Object? property, double targetValue) {
  value = Color.lerp(target as Color?, _targetColor, targetValue);
}