Animatable constructor

Animatable({
  1. Animation animate([
    1. dynamic,
    2. Object?
    ])?,
  2. List<Animation> getAnimations([
    1. GetAnimationsOptions?
    ])?,
})

Implementation

factory Animatable({
  _i3.Animation Function([
    _i2.dynamic,
    _i2.Object?,
  ])? animate,
  _i2.List<_i3.Animation> Function([_i3.GetAnimationsOptions?])?
      getAnimations,
}) =>
    Animatable._(
      animate: animate == null ? null : _i4.allowInterop(animate),
      getAnimations:
          getAnimations == null ? null : _i4.allowInterop(getAnimations),
    );