call method

Widget call(
  1. AnimationController controller,
  2. Widget child
)

Builds the transition.

Implementation

Widget call(AnimationController controller, Widget child) {
  Widget current = child;
  for (final t in _transitions.reversed) {
    current = t(controller, current);
  }
  return current;
}