operator + method
Composes this transition with other so both effects apply simultaneously.
Implementation
ComposedTransition operator +(MotionTransition other) {
if (this is ComposedTransition) {
return ComposedTransition([
...(this as ComposedTransition).transitions,
other,
]);
}
return ComposedTransition([this, other]);
}