combine static method
Combine multiple motions
and apply them recursively in order from first to last.
Implementation
static MotionWidgetBuilder combine(List<MotionWidgetBuilder> motions) => (
BuildContext context,
MontageAnimation current,
Animation<double> animation,
Widget? child,
) {
for (var motion in motions.reversed) {
child = motion(context, current, animation, child);
}
return child!;
};