addEffect method

  1. @override
AnimateList<Widget> addEffect(
  1. Effect effect
)
override

Adds an effect. This is mostly used by Effect extension methods to append effects to an AnimateList instance.

Implementation

@override
AnimateList addEffect(Effect effect) {
  for (Animate manager in _managers) {
    manager.addEffect(effect);
  }
  return this;
}