WorkletAnimation constructor

WorkletAnimation(
  1. String animatorName, [
  2. dynamic effects,
  3. AnimationTimeline? timeline,
  4. dynamic options,
])

Implementation

factory WorkletAnimation(String animatorName,
        [dynamic effects, AnimationTimeline? timeline, dynamic options]) =>
    WorkletAnimation._(animatorName, effects ?? undefined,
        timeline ?? undefined, options ?? undefined);