AnimatedTransitionBuilder typedef Null safety
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,
);