ScaleEffect.to constructor

ScaleEffect.to(
  1. Vector2 targetScale,
  2. EffectController controller, {
  3. void onComplete()?,
  4. ComponentKey? key,
})

Implementation

factory ScaleEffect.to(
  Vector2 targetScale,
  EffectController controller, {
  void Function()? onComplete,
  ComponentKey? key,
}) =>
    _ScaleToEffect(
      targetScale,
      controller,
      onComplete: onComplete,
      key: key,
    );