Animation constructor

Animation({
  1. Animatable? animatable,
  2. String? currentValue,
  3. num? delay,
  4. num? duration,
  5. num? endDelay,
  6. String? property,
  7. ReadonlyArray<Object>? tweens,
  8. String? type,
})

Implementation

factory Animation({
  _i4.Animatable? animatable,
  _i2.String? currentValue,
  _i2.num? delay,
  _i2.num? duration,
  _i2.num? endDelay,
  _i2.String? property,
  _i7.ReadonlyArray<_i2.Object>? tweens,
  _i2.String? type,
}) =>
    Animation._(
      animatable: animatable ?? _i5.undefined,
      currentValue: currentValue,
      delay: delay,
      duration: duration,
      endDelay: endDelay,
      property: property,
      tweens: tweens ?? _i5.undefined,
      type: type,
    );