AnimatedTransitionBuilder typedef

Widget AnimatedTransitionBuilder (
  1. BuildContext context,
  2. Animation<double> animation,
  3. Widget child
)

Builder callback used by DualTransitionBuilder.

The builder is expected to return a transition powered by the provided animation and wrapping the provided child.

The animation provided to the builder always runs forward from 0.0 to 1.0.

Implementation

typedef AnimatedTransitionBuilder = Widget Function(
  BuildContext context,
  Animation<double> animation,
  Widget child,
);