PropTween constructor

PropTween({
  1. GTweenable? target,
  2. Object? property,
  3. double start = 0.0,
  4. double? change,
  5. String? name,
  6. PropTween? next,
  7. int priority = 0,
})

Creates a new instance of PropTween.

This constructor is used internally by GTween, and should not be used directly.

target The target object to animate.

property The property to animate (commonly a String) or the value to interpolate.

start The starting value of the property.

change The difference between the end value and the start value.

name The name of the original target property. Typically the same as t.

next A reference to the next PropTween in the linked list.

priority The priority in the render queue.

Implementation

PropTween({
  GTweenable? target,
  Object? property,
  double start = 0.0,
  double? change,
  String? name,
  PropTween? next,
  int priority = 0,
}) {
  t = target;
  p = property;
  s = start;
  c = change;
  n = name;
//    this.f = this.t[p] is Function;
  if (next != null) {
    next._prev = this;
    _next = next;
  }
  pr = priority;
}