AnimationOptions constructor

AnimationOptions({
  1. num? duration,
  2. num easing(
    1. num time
    )?,
  3. required Point offset,
  4. bool? animate,
  5. bool? essential,
})

Implementation

factory AnimationOptions({
  num? duration,
  num Function(num time)? easing,
  required Point offset,
  bool? animate,
  bool? essential,
}) =>
    AnimationOptions.fromJsObject(AnimationOptionsJsImpl(
      duration: duration,
      easing: easing,
      offset: offset.jsObject,
      animate: animate,
      essential: essential,
    ));