createAnimatedProperty<T> method

AnimatedProperty<T> createAnimatedProperty<T>(
  1. T value,
  2. PropertyLerp<T> lerp
)

Implementation

AnimatedProperty<T> createAnimatedProperty<T>(T value, PropertyLerp<T> lerp) {
  final property = AnimatedProperty._(this, value, lerp, setState);
  _animatedProperties.add(property);
  return property;
}